Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: chrome/common/extensions/manifest_handlers/app_launch_info.cc

Issue 635623003: Cleanup: Better constify some strings in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/manifest_handlers/app_launch_info.cc
diff --git a/chrome/common/extensions/manifest_handlers/app_launch_info.cc b/chrome/common/extensions/manifest_handlers/app_launch_info.cc
index 69748693d220e27b0602bdcbcd91d2983864f52d..7fab5b31d73a7d6617c84213b99f07188b6ba618 100644
--- a/chrome/common/extensions/manifest_handlers/app_launch_info.cc
+++ b/chrome/common/extensions/manifest_handlers/app_launch_info.cc
@@ -306,7 +306,7 @@ bool AppLaunchManifestHandler::AlwaysParseForType(Manifest::Type type) const {
}
const std::vector<std::string> AppLaunchManifestHandler::Keys() const {
- static const char* keys[] = {
+ static const char* const keys[] = {
keys::kLaunchLocalPath,
keys::kLaunchWebURL,
keys::kLaunchContainer,

Powered by Google App Engine
This is Rietveld 408576698