summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run_mac.mm
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 21:40:55 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 21:40:55 +0000
commit05e789d0a4728cf8cd2c153443d78992c624a945 (patch)
tree333067a9e46a1c27f8330ad2607ed02ac7db2a37 /chrome/browser/first_run_mac.mm
parent48ca901238509dd4c5f7bb30c66ef36f5dafc828 (diff)
downloadchromium_src-05e789d0a4728cf8cd2c153443d78992c624a945.zip
chromium_src-05e789d0a4728cf8cd2c153443d78992c624a945.tar.gz
chromium_src-05e789d0a4728cf8cd2c153443d78992c624a945.tar.bz2
Do not import homepage on First Run if a homepage is given in master preferences.
BUG=9048 Review URL: http://codereview.chromium.org/164291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run_mac.mm')
-rw-r--r--chrome/browser/first_run_mac.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/first_run_mac.mm b/chrome/browser/first_run_mac.mm
index cb354d4..808b79c 100644
--- a/chrome/browser/first_run_mac.mm
+++ b/chrome/browser/first_run_mac.mm
@@ -61,7 +61,9 @@ class FirstRunController : public ImportObserver {
};
-bool OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton) {
+bool OpenFirstRunDialog(Profile* profile,
+ bool homepage_defined,
+ ProcessSingleton* process_singleton) {
// OpenFirstRunDialog is a no-op on non-branded builds.
FirstRunController* controller = new FirstRunController;
return controller->DoFirstRun(profile, process_singleton);