summaryrefslogtreecommitdiffstats
path: root/extensions/common/features
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2015-12-16 19:09:33 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-17 03:10:46 +0000
commit53c883cd322c07f257aa8557549e91598e62fc3f (patch)
treee0ca945f8a0c8ff2614f8320ae9f92a58a152b28 /extensions/common/features
parentf5406c826d16602ce699bdf7f7da5cc5461be7f0 (diff)
downloadchromium_src-53c883cd322c07f257aa8557549e91598e62fc3f.zip
chromium_src-53c883cd322c07f257aa8557549e91598e62fc3f.tar.gz
chromium_src-53c883cd322c07f257aa8557549e91598e62fc3f.tar.bz2
Cleanup: Convert const char* kFoo to const char kFoo[].
Or change them to const char* const kFoo. TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/924793003 Cr-Commit-Position: refs/heads/master@{#365692}
Diffstat (limited to 'extensions/common/features')
-rw-r--r--extensions/common/features/behavior_feature.cc8
-rw-r--r--extensions/common/features/behavior_feature.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/extensions/common/features/behavior_feature.cc b/extensions/common/features/behavior_feature.cc
index 25dddbc..b43dc2e 100644
--- a/extensions/common/features/behavior_feature.cc
+++ b/extensions/common/features/behavior_feature.cc
@@ -6,13 +6,13 @@
namespace extensions {
-const char* const BehaviorFeature::kServiceWorker = "service_worker";
+const char BehaviorFeature::kServiceWorker[] = "service_worker";
-const char* const BehaviorFeature::kWhitelistedForIncognito =
+const char BehaviorFeature::kWhitelistedForIncognito[] =
"whitelisted_for_incognito";
-const char* const BehaviorFeature::kDoNotSync = "do_not_sync";
+const char BehaviorFeature::kDoNotSync[] = "do_not_sync";
-const char* const BehaviorFeature::kZoomWithoutBubble = "zoom_without_bubble";
+const char BehaviorFeature::kZoomWithoutBubble[] = "zoom_without_bubble";
} // namespace extensions
diff --git a/extensions/common/features/behavior_feature.h b/extensions/common/features/behavior_feature.h
index cddbe8f..7e9a5f1 100644
--- a/extensions/common/features/behavior_feature.h
+++ b/extensions/common/features/behavior_feature.h
@@ -19,10 +19,10 @@ namespace extensions {
class BehaviorFeature : public SimpleFeature {
public:
// Constants corresponding to keys in _behavior_features.json.
- static const char* const kServiceWorker;
- static const char* const kWhitelistedForIncognito;
- static const char* const kDoNotSync;
- static const char* const kZoomWithoutBubble;
+ static const char kServiceWorker[];
+ static const char kWhitelistedForIncognito[];
+ static const char kDoNotSync[];
+ static const char kZoomWithoutBubble[];
};
} // namespace extensions