OLD | NEW |
1 // Copyright (c) 2011 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 #pragma once | 10 #pragma once |
11 | 11 |
(...skipping 21 matching lines...) Expand all Loading... |
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 // "auto_launch_chrome": false, |
43 // "oem_bubble": false, | |
44 // "chrome_shortcut_icon_index": 0, | 43 // "chrome_shortcut_icon_index": 0, |
45 // "create_all_shortcuts": true, | 44 // "create_all_shortcuts": true, |
46 // "import_bookmarks": false, | 45 // "import_bookmarks": false, |
47 // "import_bookmarks_from_file": "c:\\path", | 46 // "import_bookmarks_from_file": "c:\\path", |
48 // "import_history": false, | 47 // "import_history": false, |
49 // "import_home_page": false, | 48 // "import_home_page": false, |
50 // "import_search_engine": true, | 49 // "import_search_engine": true, |
51 // "ping_delay": 40, | 50 // "ping_delay": 40, |
52 // "show_welcome_page": true, | 51 // "show_welcome_page": true, |
53 // "skip_first_run_ui": true, | 52 // "skip_first_run_ui": true, |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 bool chrome_frame_; | 192 bool chrome_frame_; |
194 bool multi_install_; | 193 bool multi_install_; |
195 | 194 |
196 private: | 195 private: |
197 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); | 196 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); |
198 }; | 197 }; |
199 | 198 |
200 } // namespace installer | 199 } // namespace installer |
201 | 200 |
202 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ | 201 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ |
OLD | NEW |