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

Issue 20743002: Do not CreateSentinel until after the process singleton has been grabbed by the current process. (Closed)

Created:
7 years, 5 months ago by gab
Modified:
7 years, 4 months ago
CC:
chromium-reviews, marja+watch_chromium.org
Visibility:
Public.

Description

Do not CreateSentinel until after the process singleton has been grabbed by the current process. Move first_run::CreateSentinel to first_run::internal::CreateSentinel. This is based on top of https://codereview.chromium.org/20483002/ BUG=264694 TEST= A) Launch chrome.exe with no First Run sentinel, make sure first run happens once (relaunch and it shouldn't happen twice). B) Launch chrome.exe with First Run sentinel, but with --force-first-run, make sure first run happens anyways. C) Launch chrome.exe with no First Run sentinel, but with --no-first-run, make sure first run doesn't happen (and doesn't happen in subsequent relaunches either without the flag). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214709

Patch Set 1 : #

Patch Set 2 : merge latest version of https://codereview.chromium.org/20483002/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -45 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/first_run/first_run.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/first_run/first_run.cc View 2 chunks +17 lines, -25 lines 0 comments Download
M chrome/browser/first_run/first_run_internal.h View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/first_run/first_run_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/session_restore_browsertest.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/first_run_dialog.mm View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/first_run_dialog.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_browsertest.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
gab
Carlos, please take a look after looking @ https://codereview.chromium.org/20483002/. Cheers! Gab
7 years, 5 months ago (2013-07-26 15:52:54 UTC) #1
gab
On 2013/07/26 15:52:54, gab wrote: > Carlos, please take a look after looking @ > ...
7 years, 4 months ago (2013-07-29 17:45:44 UTC) #2
cpu_(ooo_6.6-7.5)
lgtm
7 years, 4 months ago (2013-07-30 18:15:40 UTC) #3
gab
Thanks, @Nico for OWNER. Cheers, Gab
7 years, 4 months ago (2013-07-30 18:26:30 UTC) #4
Nico
+bauerb since this is removing some of his TODOs. lgtm stamp based on cpu's review ...
7 years, 4 months ago (2013-07-30 19:23:44 UTC) #5
gab
Thanks, TBR bauerb, basically it seems like you wanted to force --skip-first-run instead of creating ...
7 years, 4 months ago (2013-07-30 19:53:04 UTC) #6
Bernhard Bauer
Awesome, LGTM!
7 years, 4 months ago (2013-07-30 22:40:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/20743002/37001
7 years, 4 months ago (2013-07-31 02:51:26 UTC) #8
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 4 months ago (2013-07-31 03:17:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/20743002/37001
7 years, 4 months ago (2013-07-31 12:17:07 UTC) #10
commit-bot: I haz the power
7 years, 4 months ago (2013-07-31 13:40:16 UTC) #11
Message was sent while issue was closed.
Change committed as 214709

Powered by Google App Engine
This is Rietveld 408576698