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

Side by Side Diff: chrome/installer/util/master_preferences_constants.h

Issue 2705113005: Update AutoImport to import nothing by default (in absence of policy and master_prefs). (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file contains the constants used to process master_preferences files 5 // This file contains the constants used to process master_preferences files
6 // used by setup and first run. 6 // used by setup and first run.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ 8 #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_
9 #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ 9 #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_
10 10
11 namespace installer { 11 namespace installer {
12 namespace master_preferences { 12 namespace master_preferences {
13 // All the preferences below are expected to be inside the JSON "distribution" 13 // All the preferences below are expected to be inside the JSON "distribution"
14 // block. Some of them also have equivalent command line option. If same option 14 // block. Some of them also have equivalent command line option. If same option
15 // is specified in master preference as well as command line, the command line 15 // is specified in master preference as well as command line, the command line
16 // value takes precedence. 16 // value takes precedence.
17 17
18 // Boolean. This is a legacy preference and should no longer be used; it is 18 // Boolean. This is a legacy preference and should no longer be used; it is
19 // kept around so that old master_preferences which specify 19 // kept around so that old master_preferences which specify
20 // "create_all_shortcuts":false still enforce the new 20 // "create_all_shortcuts":false still enforce the new
21 // "do_not_create_(desktop|quick_launch)_shortcut" preferences. Setting this to 21 // "do_not_create_(desktop|quick_launch)_shortcut" preferences. Setting this to
22 // true no longer has any impact. 22 // true no longer has any impact.
23 extern const char kCreateAllShortcuts[]; 23 extern const char kCreateAllShortcuts[];
24 // Boolean pref that disables all logging. 24 // Boolean pref that disables all logging.
25 extern const char kDisableLogging[]; 25 extern const char kDisableLogging[];
26 // Name of the dictionary that holds the distribution values. 26 // Name of the dictionary that holds the distribution values.
27 extern const char kDistroDict[]; 27 extern const char kDistroDict[];
28 // Boolean pref that triggers silent import of the default browser bookmarks. 28 // Boolean pref that triggers silent import of the default browser bookmarks.
29 // Deprecated, use prefs::kImportBookmarks instead.
29 extern const char kDistroImportBookmarksPref[]; 30 extern const char kDistroImportBookmarksPref[];
30 // String pref that triggers silent import of bookmarks from the html file at 31 // String pref that triggers silent import of bookmarks from the html file at
31 // given path. 32 // given path.
32 extern const char kDistroImportBookmarksFromFilePref[]; 33 extern const char kDistroImportBookmarksFromFilePref[];
33 // Boolean pref that triggers silent import of the default browser history. 34 // Boolean pref that triggers silent import of the default browser history.
35 // Deprecated, use prefs::kImportHistory instead.
34 extern const char kDistroImportHistoryPref[]; 36 extern const char kDistroImportHistoryPref[];
35 // Boolean pref that triggers silent import of the default browser homepage. 37 // Boolean pref that triggers silent import of the default browser homepage.
38 // Deprecated, use prefs::kImportHomepage instead.
36 extern const char kDistroImportHomePagePref[]; 39 extern const char kDistroImportHomePagePref[];
37 // Boolean pref that triggers silent import of the default search engine. 40 // Boolean pref that triggers silent import of the default search engine.
41 // Deprecated, use prefs::kImportSearchEngine instead.
38 extern const char kDistroImportSearchPref[]; 42 extern const char kDistroImportSearchPref[];
39 // Integer. RLZ ping delay in seconds. 43 // Integer. RLZ ping delay in seconds.
40 extern const char kDistroPingDelay[]; 44 extern const char kDistroPingDelay[];
41 // String of Chrome version for which the "set as default browser" infobar will 45 // String of Chrome version for which the "set as default browser" infobar will
42 // never be shown. 46 // never be shown.
43 extern const char kDistroSuppressDefaultBrowserPromptPref[]; 47 extern const char kDistroSuppressDefaultBrowserPromptPref[];
44 // Boolean. Do not show first run bubble, even if it would otherwise be shown. 48 // Boolean. Do not show first run bubble, even if it would otherwise be shown.
45 extern const char kDistroSuppressFirstRunBubble[]; 49 extern const char kDistroSuppressFirstRunBubble[];
46 // Boolean that specifies whether or not showing the welcome page following an 50 // Boolean that specifies whether or not showing the welcome page following an
47 // OS upgrade is enabled. True by default. May be overridden by the 51 // OS upgrade is enabled. True by default. May be overridden by the
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 extern const char kVerboseLogging[]; 92 extern const char kVerboseLogging[];
89 // Name of the block that contains the extensions on the master preferences. 93 // Name of the block that contains the extensions on the master preferences.
90 extern const char kExtensionsBlock[]; 94 extern const char kExtensionsBlock[];
91 // Boolean. Allow Chrome to be downgraded to a previous version if true. 95 // Boolean. Allow Chrome to be downgraded to a previous version if true.
92 extern const char kAllowDowngrade[]; 96 extern const char kAllowDowngrade[];
93 97
94 } // namespace master_preferences 98 } // namespace master_preferences
95 } // namespace installer 99 } // namespace installer
96 100
97 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ 101 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698