summaryrefslogtreecommitdiffstats
path: root/extensions/common/features
diff options
context:
space:
mode:
authorhaibinlu <haibinlu@chromium.org>2015-07-17 12:48:42 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-17 19:49:29 +0000
commit8eb0acd5148f748db4ba1309b372052977f57ec6 (patch)
tree856c4a4ee9b37480d6ebe87fc1f93c527ec51d8e /extensions/common/features
parent3188c15f1928d96621aab55b575230284709a9c6 (diff)
downloadchromium_src-8eb0acd5148f748db4ba1309b372052977f57ec6.zip
chromium_src-8eb0acd5148f748db4ba1309b372052977f57ec6.tar.gz
chromium_src-8eb0acd5148f748db4ba1309b372052977f57ec6.tar.bz2
Diable sync for Cast & Media-Router extensions.
Only MR extension IDs are listed now. Will add Cast extension IDs if this CL is approved. BUG=505879 Review URL: https://codereview.chromium.org/1236983002 Cr-Commit-Position: refs/heads/master@{#339305}
Diffstat (limited to 'extensions/common/features')
-rw-r--r--extensions/common/features/behavior_feature.cc9
-rw-r--r--extensions/common/features/behavior_feature.h7
2 files changed, 10 insertions, 6 deletions
diff --git a/extensions/common/features/behavior_feature.cc b/extensions/common/features/behavior_feature.cc
index 767fd9a..1f99c71 100644
--- a/extensions/common/features/behavior_feature.cc
+++ b/extensions/common/features/behavior_feature.cc
@@ -6,11 +6,14 @@
namespace extensions {
-const char* BehaviorFeature::kBluetoothPeripheral = "bluetooth.peripheral";
+const char* const BehaviorFeature::kBluetoothPeripheral =
+ "bluetooth.peripheral";
-const char* BehaviorFeature::kServiceWorker = "service_worker";
+const char* const BehaviorFeature::kServiceWorker = "service_worker";
-const char* BehaviorFeature::kWhitelistedForIncognito =
+const char* const BehaviorFeature::kWhitelistedForIncognito =
"whitelisted_for_incognito";
+const char* const BehaviorFeature::kDoNotSync = "do_not_sync";
+
} // namespace extensions
diff --git a/extensions/common/features/behavior_feature.h b/extensions/common/features/behavior_feature.h
index ac7e478..4af02954 100644
--- a/extensions/common/features/behavior_feature.h
+++ b/extensions/common/features/behavior_feature.h
@@ -19,9 +19,10 @@ namespace extensions {
class BehaviorFeature : public SimpleFeature {
public:
// Constants corresponding to keys in _behavior_features.json.
- static const char* kBluetoothPeripheral;
- static const char* kServiceWorker;
- static const char* kWhitelistedForIncognito;
+ static const char* const kBluetoothPeripheral;
+ static const char* const kServiceWorker;
+ static const char* const kWhitelistedForIncognito;
+ static const char* const kDoNotSync;
};
} // namespace extensions