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

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

Issue 1543853002: Remove support for chrome_shortcut_icon_index master_pref. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittest Created 4 years, 11 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 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 17 matching lines...) Expand all
28 #endif 28 #endif
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 // "chrome_shortcut_icon_index": 0,
39 // "create_all_shortcuts": true, 38 // "create_all_shortcuts": true,
40 // "import_bookmarks": false, 39 // "import_bookmarks": false,
41 // "import_bookmarks_from_file": "c:\\path", 40 // "import_bookmarks_from_file": "c:\\path",
42 // "import_history": false, 41 // "import_history": false,
43 // "import_home_page": false, 42 // "import_home_page": false,
44 // "import_search_engine": true, 43 // "import_search_engine": true,
45 // "ping_delay": 40, 44 // "ping_delay": 40,
46 // "show_welcome_page": true, 45 // "show_welcome_page": true,
47 // "skip_first_run_ui": true, 46 // "skip_first_run_ui": true,
48 // "do_not_launch_chrome": false, 47 // "do_not_launch_chrome": false,
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 bool chrome_; 212 bool chrome_;
214 bool multi_install_; 213 bool multi_install_;
215 214
216 private: 215 private:
217 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); 216 DISALLOW_COPY_AND_ASSIGN(MasterPreferences);
218 }; 217 };
219 218
220 } // namespace installer 219 } // namespace installer
221 220
222 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ 221 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/chrome_browser_operations.cc ('k') | chrome/installer/util/master_preferences_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698