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

Unified Diff: chrome/app/chrome_main_delegate.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
« no previous file with comments | « no previous file | chrome/common/chrome_content_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index 2d277a6ecf4a095a7fe3be2d7549ba278fa5ff02..118ac5d1f74bd9772469d4b2a1ef67ad2c72b034 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -487,13 +487,12 @@ bool ChromeMainDelegate::BasicStartupComplete(int* exit_code) {
// original command line.
if (command_line.HasSwitch(chromeos::switches::kLoginUser) ||
command_line.HasSwitch(switches::kDiagnosticsRecovery)) {
-
// The statistics subsystem needs get initialized soon enough for the
// statistics to be collected. It's safe to call this more than once.
base::StatisticsRecorder::Initialize();
CommandLine interim_command_line(command_line.GetProgram());
- const char* kSwitchNames[] = {switches::kUserDataDir, };
+ const char* const kSwitchNames[] = {switches::kUserDataDir, };
interim_command_line.CopySwitchesFrom(
command_line, kSwitchNames, arraysize(kSwitchNames));
interim_command_line.AppendSwitch(switches::kDiagnostics);
« no previous file with comments | « no previous file | chrome/common/chrome_content_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698