summaryrefslogtreecommitdiffstats
path: root/extensions/common/features
diff options
context:
space:
mode:
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