DescriptionSome 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 #
Messages
Total messages: 9 (0 generated)
|