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

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

Issue 2714853002: Remove kDistroDict from Preferences. (Closed)
Patch Set: Format and hide constant behind flag too Created 3 years, 10 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 25 matching lines...) Expand all
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 // "import_bookmarks": false, 41 // "import_bookmarks": false,
42 // "import_bookmarks_from_file": "c:\\path", 42 // "import_bookmarks_from_file": "c:\\path",
43 // "import_history": false, 43 // "import_history": false,
44 // "import_home_page": false, 44 // "import_home_page": false,
45 // "import_search_engine": true, 45 // "import_search_engine": true,
46 // "ping_delay": 40,
grt (UTC plus 2) 2017/02/24 07:42:21 isn't this still the proper way to set the ping_de
Roger Tawa OOO till Jul 10th 2017/02/24 16:02:18 Agreed. Until the docs are changed, everyone will
gab 2017/02/28 19:54:45 Good point (and I'm not signing up to update any d
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,
50 // "make_chrome_default": false, 49 // "make_chrome_default": false,
51 // "make_chrome_default_for_user": true, 50 // "make_chrome_default_for_user": true,
52 // "require_eula": true, 51 // "require_eula": true,
53 // "system_level": false, 52 // "system_level": false,
54 // "verbose_logging": true, 53 // "verbose_logging": true,
55 // "welcome_page_on_os_upgrade_enabled": false 54 // "welcome_page_on_os_upgrade_enabled": false
56 // }, 55 // },
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 base::DictionaryValue* distribution_ = nullptr; 201 base::DictionaryValue* distribution_ = nullptr;
203 bool preferences_read_from_file_ = false; 202 bool preferences_read_from_file_ = false;
204 203
205 private: 204 private:
206 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); 205 DISALLOW_COPY_AND_ASSIGN(MasterPreferences);
207 }; 206 };
208 207
209 } // namespace installer 208 } // namespace installer
210 209
211 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ 210 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698