OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 // The master preferences is a JSON file with the same entries as the | 30 // The master preferences is a JSON file with the same entries as the |
31 // 'Default\Preferences' file. This function parses the distribution | 31 // 'Default\Preferences' file. This function parses the distribution |
32 // section of the preferences file. | 32 // section of the preferences file. |
33 // | 33 // |
34 // A prototypical 'master_preferences' file looks like this: | 34 // A prototypical 'master_preferences' file looks like this: |
35 // | 35 // |
36 // { | 36 // { |
37 // "distribution": { | 37 // "distribution": { |
38 // "alternate_shortcut_text": false, | 38 // "alternate_shortcut_text": false, |
39 // "chrome_shortcut_icon_index": 0, | |
40 // "create_all_shortcuts": true, | 39 // "create_all_shortcuts": true, |
41 // "import_bookmarks": false, | 40 // "import_bookmarks": false, |
42 // "import_bookmarks_from_file": "c:\\path", | 41 // "import_bookmarks_from_file": "c:\\path", |
43 // "import_history": false, | 42 // "import_history": false, |
44 // "import_home_page": false, | 43 // "import_home_page": false, |
45 // "import_search_engine": true, | 44 // "import_search_engine": true, |
46 // "ping_delay": 40, | 45 // "ping_delay": 40, |
47 // "show_welcome_page": true, | 46 // "show_welcome_page": true, |
48 // "skip_first_run_ui": true, | 47 // "skip_first_run_ui": true, |
49 // "do_not_launch_chrome": false, | 48 // "do_not_launch_chrome": false, |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 bool chrome_; | 213 bool chrome_; |
215 bool multi_install_; | 214 bool multi_install_; |
216 | 215 |
217 private: | 216 private: |
218 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); | 217 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); |
219 }; | 218 }; |
220 | 219 |
221 } // namespace installer | 220 } // namespace installer |
222 | 221 |
223 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ | 222 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ |
OLD | NEW |