summaryrefslogtreecommitdiffstats
path: root/extensions/common/features
diff options
context:
space:
mode:
authorrkc <rkc@chromium.org>2015-05-07 12:10:29 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-07 19:11:10 +0000
commite6c9c4fd0709fc3609e0e724060c22d2386146b8 (patch)
tree6e56bd9566e90708c96828d2d7084471986ade40 /extensions/common/features
parentbb47c91f4bf41c61f122b9aa0567678fed2f4e73 (diff)
downloadchromium_src-e6c9c4fd0709fc3609e0e724060c22d2386146b8.zip
chromium_src-e6c9c4fd0709fc3609e0e724060c22d2386146b8.tar.gz
chromium_src-e6c9c4fd0709fc3609e0e724060c22d2386146b8.tar.bz2
API stubs for the BLE advertisement API.
This CL adds the IDL and manifiest changes and the stubs for the BLE advertising functions. The design doc for these changes is at http://go/chrome-ble-advertising R=armansito@chromium.org BUG=466375 Review URL: https://codereview.chromium.org/1096393002 Cr-Commit-Position: refs/heads/master@{#328810}
Diffstat (limited to 'extensions/common/features')
-rw-r--r--extensions/common/features/behavior_feature.cc2
-rw-r--r--extensions/common/features/behavior_feature.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/extensions/common/features/behavior_feature.cc b/extensions/common/features/behavior_feature.cc
index 15b93f0..39b35a9 100644
--- a/extensions/common/features/behavior_feature.cc
+++ b/extensions/common/features/behavior_feature.cc
@@ -6,6 +6,8 @@
namespace extensions {
+const char* BehaviorFeature::kBluetoothPeripheral = "bluetooth.peripheral";
+
const char* BehaviorFeature::kWhitelistedForIncognito =
"whitelisted_for_incognito";
diff --git a/extensions/common/features/behavior_feature.h b/extensions/common/features/behavior_feature.h
index c09c69d..5a59992 100644
--- a/extensions/common/features/behavior_feature.h
+++ b/extensions/common/features/behavior_feature.h
@@ -19,6 +19,7 @@ namespace extensions {
class BehaviorFeature : public SimpleFeature {
public:
// Constants corresponding to keys in _behavior_features.json.
+ static const char* kBluetoothPeripheral;
static const char* kWhitelistedForIncognito;
};