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

Issue 11413121: Move Windows-specific first run task out of chrome_browser_main.cc by introducing first_run::DoFirs… (Closed)

Created:
8 years, 1 month ago by gab
Modified:
8 years ago
Reviewers:
Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Move Windows-specific first run task out of chrome_browser_main.cc by introducing first_run::DoFirstRunTasks(). BUG=None (fixing TODO). TEST=Shortcut creation on first run for system-level installs works the same way as before (i.e. Active Setup task is fired 5s after launching Chrome on first run). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170354

Patch Set 1 #

Patch Set 2 : comment tweak #

Total comments: 4

Patch Set 3 : Add to ChromeBrowserMainParts #

Total comments: 3

Patch Set 4 : fix comment + TODO(thakis) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -27 lines) Patch
M chrome/browser/chrome_browser_main.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 6 chunks +20 lines, -20 lines 0 comments Download
M chrome/browser/chrome_browser_main_extra_parts.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 1 2 4 chunks +30 lines, -6 lines 0 comments Download
M chrome/browser/first_run/first_run_posix.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
gab
@Nico, as per your request on https://codereview.chromium.org/11420045/, removing OS-specific section, but doing it in a ...
8 years, 1 month ago (2012-11-21 16:10:09 UTC) #1
Nico
Thanks! https://codereview.chromium.org/11413121/diff/3001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/11413121/diff/3001/chrome/browser/chrome_browser_main.cc#newcode1200 chrome/browser/chrome_browser_main.cc:1200: first_run::DoFirstRunTasks(); Could this conceivably run after AutoImport() below? ...
8 years, 1 month ago (2012-11-21 18:38:22 UTC) #2
gab
Reply below. https://codereview.chromium.org/11413121/diff/3001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/11413121/diff/3001/chrome/browser/chrome_browser_main.cc#newcode1200 chrome/browser/chrome_browser_main.cc:1200: first_run::DoFirstRunTasks(); On 2012/11/21 18:38:22, Nico wrote: > ...
8 years, 1 month ago (2012-11-21 19:39:13 UTC) #3
Nico
https://codereview.chromium.org/11413121/diff/3001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/11413121/diff/3001/chrome/browser/chrome_browser_main.cc#newcode1200 chrome/browser/chrome_browser_main.cc:1200: first_run::DoFirstRunTasks(); On 2012/11/21 19:39:14, gab wrote: > On 2012/11/21 ...
8 years, 1 month ago (2012-11-21 20:55:35 UTC) #4
gab
Alright, so I looked into ChromeBrowserMainParts, correct me if I'm wrong, but this is how ...
8 years, 1 month ago (2012-11-22 01:46:42 UTC) #5
gab
My bad, somehow hadn't realized the call to PreProfileInit() in ChromeBrowserMainParts would get virtual dispatched ...
8 years, 1 month ago (2012-11-22 19:31:45 UTC) #6
gab
Added first run entries to ChromeBrowserMainParts; and also to extra parts to stay in sync ...
8 years ago (2012-11-28 22:42:02 UTC) #7
Nico
LGTM, thanks! I think the posix post-import logic can go outside of skipfirstrun. I'll look ...
8 years ago (2012-11-29 01:38:28 UTC) #8
gab
Thanks, fixed comment and added a TODO for you to move the POSIX-specific code out ...
8 years ago (2012-11-29 18:32:19 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/11413121/11001
8 years ago (2012-11-29 18:33:13 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) content_unittests
8 years ago (2012-11-29 23:35:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11413121/11001
8 years ago (2012-11-29 23:41:53 UTC) #12
commit-bot: I haz the power
8 years ago (2012-11-30 02:06:22 UTC) #13
Message was sent while issue was closed.
Change committed as 170354

Powered by Google App Engine
This is Rietveld 408576698