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

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

Issue 2714853002: Remove kDistroDict from Preferences. (Closed)
Patch Set: kRlzPingDelay -> kRlzPingDelaySeconds Created 3 years, 9 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
« no previous file with comments | « chrome/installer/util/BUILD.gn ('k') | chrome/installer/util/master_preferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 functions processing master preference file used by 5 // This file contains functions processing master preference file used by
6 // setup and first run. 6 // setup and first run.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ 8 #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_
9 #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ 9 #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_
10 10
(...skipping 20 matching lines...) Expand all
31 31
32 // The master preferences is a JSON file with the same entries as the 32 // The master preferences is a JSON file with the same entries as the
33 // 'Default\Preferences' file. This function parses the distribution 33 // 'Default\Preferences' file. This function parses the distribution
34 // section of the preferences file. 34 // section of the preferences file.
35 // 35 //
36 // A prototypical 'master_preferences' file looks like this: 36 // A prototypical 'master_preferences' file looks like this:
37 // 37 //
38 // { 38 // {
39 // "distribution": { 39 // "distribution": {
40 // "create_all_shortcuts": true, 40 // "create_all_shortcuts": true,
41 // "do_not_launch_chrome": false,
41 // "import_bookmarks": false, 42 // "import_bookmarks": false,
42 // "import_bookmarks_from_file": "c:\\path", 43 // "import_bookmarks_from_file": "c:\\path",
43 // "import_history": false, 44 // "import_history": false,
44 // "import_home_page": false, 45 // "import_home_page": false,
45 // "import_search_engine": true, 46 // "import_search_engine": true,
47 // "make_chrome_default": false,
48 // "make_chrome_default_for_user": true,
46 // "ping_delay": 40, 49 // "ping_delay": 40,
50 // "require_eula": true,
47 // "show_welcome_page": true, 51 // "show_welcome_page": true,
48 // "skip_first_run_ui": true, 52 // "skip_first_run_ui": true,
49 // "do_not_launch_chrome": false,
50 // "make_chrome_default": false,
51 // "make_chrome_default_for_user": true,
52 // "require_eula": true,
53 // "system_level": false, 53 // "system_level": false,
54 // "verbose_logging": true, 54 // "verbose_logging": true,
55 // "welcome_page_on_os_upgrade_enabled": false 55 // "welcome_page_on_os_upgrade_enabled": false
56 // }, 56 // },
57 // "browser": { 57 // "browser": {
58 // "show_home_button": true 58 // "show_home_button": true
59 // }, 59 // },
60 // "bookmark_bar": { 60 // "bookmark_bar": {
61 // "show_on_all_tabs": true 61 // "show_on_all_tabs": true
62 // }, 62 // },
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 base::DictionaryValue* distribution_ = nullptr; 202 base::DictionaryValue* distribution_ = nullptr;
203 bool preferences_read_from_file_ = false; 203 bool preferences_read_from_file_ = false;
204 204
205 private: 205 private:
206 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); 206 DISALLOW_COPY_AND_ASSIGN(MasterPreferences);
207 }; 207 };
208 208
209 } // namespace installer 209 } // namespace installer
210 210
211 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ 211 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/BUILD.gn ('k') | chrome/installer/util/master_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698