OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 10 #pragma once |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 // The master preferences is a JSON file with the same entries as the | 33 // The master preferences is a JSON file with the same entries as the |
34 // 'Default\Preferences' file. This function parses the distribution | 34 // 'Default\Preferences' file. This function parses the distribution |
35 // section of the preferences file. | 35 // section of the preferences file. |
36 // | 36 // |
37 // A prototypical 'master_preferences' file looks like this: | 37 // A prototypical 'master_preferences' file looks like this: |
38 // | 38 // |
39 // { | 39 // { |
40 // "distribution": { | 40 // "distribution": { |
41 // "alternate_shortcut_text": false, | 41 // "alternate_shortcut_text": false, |
| 42 // "auto_launch_chrome": false, |
42 // "oem_bubble": false, | 43 // "oem_bubble": false, |
43 // "chrome_shortcut_icon_index": 0, | 44 // "chrome_shortcut_icon_index": 0, |
44 // "create_all_shortcuts": true, | 45 // "create_all_shortcuts": true, |
45 // "import_bookmarks": false, | 46 // "import_bookmarks": false, |
46 // "import_bookmarks_from_file": "c:\\path", | 47 // "import_bookmarks_from_file": "c:\\path", |
47 // "import_history": false, | 48 // "import_history": false, |
48 // "import_home_page": false, | 49 // "import_home_page": false, |
49 // "import_search_engine": true, | 50 // "import_search_engine": true, |
50 // "ping_delay": 40, | 51 // "ping_delay": 40, |
51 // "show_welcome_page": true, | 52 // "show_welcome_page": true, |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 bool chrome_frame_; | 198 bool chrome_frame_; |
198 bool multi_install_; | 199 bool multi_install_; |
199 | 200 |
200 private: | 201 private: |
201 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); | 202 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); |
202 }; | 203 }; |
203 | 204 |
204 } // namespace installer | 205 } // namespace installer |
205 | 206 |
206 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ | 207 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ |
OLD | NEW |