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

Unified Diff: chrome/common/crash_keys.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/crash_keys.cc
diff --git a/chrome/common/crash_keys.cc b/chrome/common/crash_keys.cc
index 09f7e198d6193a5bf7243e10b9f82c9952369782..9a03923f5ed3d9baf7e1c8c41a0b55c0fedccc2e 100644
--- a/chrome/common/crash_keys.cc
+++ b/chrome/common/crash_keys.cc
@@ -265,7 +265,7 @@ static bool IsBoringSwitch(const std::string& flag) {
flag == "--flag-switches-begin" ||
flag == "--flag-switches-end";
#elif defined(OS_CHROMEOS)
- static const char* kIgnoreSwitches[] = {
+ static const char* const kIgnoreSwitches[] = {
::switches::kEnableImplSidePainting,
::switches::kEnableLogging,
::switches::kFlagSwitchesBegin,
« no previous file with comments | « chrome/common/chrome_content_client_unittest.cc ('k') | chrome/common/extensions/api/webstore/webstore_api_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698