Chromium Code Reviews| Index: chrome/browser/first_run/first_run.cc |
| diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc |
| index 29c443b63fb46941dffdd0a09c6253f6323c0104..923bfe75f2c85668dde1e57cb0c027d690cd1535 100644 |
| --- a/chrome/browser/first_run/first_run.cc |
| +++ b/chrome/browser/first_run/first_run.cc |
| @@ -482,9 +482,10 @@ bool IsChromeFirstRun() { |
| const CommandLine* command_line = CommandLine::ForCurrentProcess(); |
| if (command_line->HasSwitch(switches::kForceFirstRun)) { |
| internal::first_run_ = internal::FIRST_RUN_TRUE; |
| - } else if (command_line->HasSwitch(switches::kNoFirstRun)) { |
| + } else if (command_line->HasSwitch(switches::kCancelFirstRun)) { |
| internal::first_run_ = internal::FIRST_RUN_CANCEL; |
|
grt (UTC plus 2)
2013/07/30 02:48:16
FIRST_RUN_CANCEL doesn't seem to exist in the repo
gab
2013/07/30 12:58:54
Ah, yes, can't sneak anything by you ;)! Based on
|
| - } else if (internal::GetFirstRunSentinelFilePath(&first_run_sentinel) && |
| + } else if (!command_line->HasSwitch(switches::kSkipFirstRun) && |
| + internal::GetFirstRunSentinelFilePath(&first_run_sentinel) && |
| !base::PathExists(first_run_sentinel)) { |
| internal::first_run_ = internal::FIRST_RUN_TRUE; |
| } |