summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/master_preferences.h
diff options
context:
space:
mode:
authorgwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 21:43:02 +0000
committergwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 21:43:02 +0000
commit70e2e4a95a549e6b86443bd50454e76c195ebd6a (patch)
treed3b8a708af1eca2a348361985c4e6cc2a96ad2bb /chrome/installer/util/master_preferences.h
parent81583de915e51284854af2f03d3ede4ce1f8d149 (diff)
downloadchromium_src-70e2e4a95a549e6b86443bd50454e76c195ebd6a.zip
chromium_src-70e2e4a95a549e6b86443bd50454e76c195ebd6a.tar.gz
chromium_src-70e2e4a95a549e6b86443bd50454e76c195ebd6a.tar.bz2
Adds the ability to import the home page of the default browser. The import always existed, but was never hooked up to an installerdata preference.
R=cpu BUG=13752 TEST=Run the installer with a line in the distribution block of the installerdata that reads: "import_home_page" : true. The home page of the previous default browser should be imported. Review URL: http://codereview.chromium.org/118512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/master_preferences.h')
-rw-r--r--chrome/installer/util/master_preferences.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/installer/util/master_preferences.h b/chrome/installer/util/master_preferences.h
index 46513e9..c83464e 100644
--- a/chrome/installer/util/master_preferences.h
+++ b/chrome/installer/util/master_preferences.h
@@ -55,7 +55,9 @@ enum MasterPrefResult {
// Use an alternate description text for some shortcuts.
MASTER_PROFILE_ALT_SHORTCUT_TXT = 0x1 << 14,
// Use a smaller OEM info bubble on first run.
- MASTER_PROFILE_OEM_FIRST_RUN_BUBBLE = 0x1 << 15
+ MASTER_PROFILE_OEM_FIRST_RUN_BUBBLE = 0x1 << 15,
+ // Import home page from the default browser.
+ MASTER_PROFILE_IMPORT_HOME_PAGE = 0x1 << 16
};
// The master preferences is a JSON file with the same entries as the
@@ -71,6 +73,7 @@ enum MasterPrefResult {
// "import_search_engine": true,
// "import_history": false,
// "import_bookmarks": false,
+// "import_home_page": false,
// "create_all_shortcuts": true,
// "do_not_launch_chrome": false,
// "make_chrome_default": false,