1 // Copyright 2020 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "chrome/browser/nearby_sharing/common/nearby_share_features.h"
6 
7 namespace features {
8 
9 // Enables Nearby Sharing functionality.
10 const base::Feature kNearbySharing{"NearbySharing",
11                                    base::FEATURE_DISABLED_BY_DEFAULT};
12 
13 // Enables use of device contacts in Nearby Share. The Nearby server returns
14 // both Google contacts and device contacts in ListContactPeople RPC responses.
15 // When this flag is disabled, device contacts will be filtered out by the
16 // Chrome OS client. This flag acts as a kill switch.
17 const base::Feature kNearbySharingDeviceContacts{
18     "NearbySharingDeviceContacts", base::FEATURE_ENABLED_BY_DEFAULT};
19 
20 // Enables use of WebRTC in Nearby Share.
21 const base::Feature kNearbySharingWebRtc{"NearbySharingWebRtc",
22                                          base::FEATURE_ENABLED_BY_DEFAULT};
23 
24 }  // namespace features
25