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

Issue 14328019: Some first_run code cleanups (extracted from https://codereview.chromium.org/12670013 to keep that … (Closed)

Created:
7 years, 8 months ago by gab
Modified:
7 years, 8 months ago
Reviewers:
cpu_(ooo_6.6-7.5), Nico
CC:
chromium-reviews, sail+watch_chromium.org
Visibility:
Public.

Description

Some first_run code cleanups (extracted from https://codereview.chromium.org/12670013 to keep that one minimal and to the point). A) CreateSentinel outside of AutoImport (it didn't belong in there). (this fixes issue 176354 as a side-effect). B) Move first_run::MasterPrefsPath to first_run::internal:: (it wasn't used outside of first_run). C) All decisions mapping MasterPreferences to MasterPrefs at first run should happen in SetupMasterPrefsFromInstallPrefs --> removed individual methods that did their own tweak. D) MasterPrefs default values should be set even if MasterPreferences is NULL. Precursor CL to https://codereview.chromium.org/12670013. BUG=219419, 176354 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196317

Patch Set 1 #

Patch Set 2 : oops, removed too many things for now #

Patch Set 3 : Remove MasterPrefsPath() from first_run.h as well. #

Patch Set 4 : merge tweaks in https://codereview.chromium.org/14322002/ #

Patch Set 5 : merge up to r196136 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -74 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/first_run/first_run.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/first_run/first_run.cc View 1 2 3 4 11 chunks +40 lines, -45 lines 0 comments Download
M chrome/browser/first_run/first_run_internal.h View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/first_run/first_run_linux.cc View 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/first_run/first_run_mac.mm View 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/first_run/first_run_win.cc View 1 2 3 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
gab
Carlos, please take a look. Thanks! Gab
7 years, 8 months ago (2013-04-18 20:39:52 UTC) #1
cpu_(ooo_6.6-7.5)
lgtm Some of the moves are hard to track, talk to QA (ananta@) to make ...
7 years, 8 months ago (2013-04-21 16:22:58 UTC) #2
gab
On 2013/04/21 16:22:58, cpu wrote: > lgtm > > Some of the moves are hard ...
7 years, 8 months ago (2013-04-22 16:13:22 UTC) #3
gab
Nico, PTAL at the minor tweaks in chrome/browser/chrome_browser_main.cc Thanks! Gab
7 years, 8 months ago (2013-04-22 16:13:56 UTC) #4
Nico
lgtm stamp
7 years, 8 months ago (2013-04-22 17:12:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/14328019/23001
7 years, 8 months ago (2013-04-24 20:01:20 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=139110
7 years, 8 months ago (2013-04-24 22:24:00 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/14328019/23001
7 years, 8 months ago (2013-04-25 03:54:53 UTC) #8
commit-bot: I haz the power
7 years, 8 months ago (2013-04-25 04:55:18 UTC) #9
Message was sent while issue was closed.
Change committed as 196317

Powered by Google App Engine
This is Rietveld 408576698