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

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

Issue 7655056: Enable brand codes and master preferences on the Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: expando Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 11
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 18
19 class FilePath; 19 class FilePath;
20 20
21 namespace base { 21 namespace base {
22 class DictionaryValue; 22 class DictionaryValue;
23 } 23 }
24 24
25 namespace installer { 25 namespace installer {
26 26
27 #if !defined(OS_MACOSX)
27 // This is the default name for the master preferences file used to pre-set 28 // This is the default name for the master preferences file used to pre-set
28 // values in the user profile at first run. 29 // values in the user profile at first run.
29 const char kDefaultMasterPrefs[] = "master_preferences"; 30 const char kDefaultMasterPrefs[] = "master_preferences";
31 #endif
30 32
31 // 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
32 // 'Default\Preferences' file. This function parses the distribution 34 // 'Default\Preferences' file. This function parses the distribution
33 // section of the preferences file. 35 // section of the preferences file.
34 // 36 //
35 // A prototypical 'master_preferences' file looks like this: 37 // A prototypical 'master_preferences' file looks like this:
36 // 38 //
37 // { 39 // {
38 // "distribution": { 40 // "distribution": {
39 // "alternate_shortcut_text": false, 41 // "alternate_shortcut_text": false,
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 bool chrome_frame_; 197 bool chrome_frame_;
196 bool multi_install_; 198 bool multi_install_;
197 199
198 private: 200 private:
199 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); 201 DISALLOW_COPY_AND_ASSIGN(MasterPreferences);
200 }; 202 };
201 203
202 } // namespace installer 204 } // namespace installer
203 205
204 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ 206 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698