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

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

Issue 12223062: Support variations_seed parameter in MasterPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // }, 151 // },
152 // "path": "ppflmjolhbonpkbkooiamcnenbmbjcbb\\0.0", 152 // "path": "ppflmjolhbonpkbkooiamcnenbmbjcbb\\0.0",
153 // "state": 1 153 // "state": 1
154 // } 154 // }
155 // } 155 // }
156 // } 156 // }
157 // } 157 // }
158 // 158 //
159 bool GetExtensionsBlock(base::DictionaryValue** extensions) const; 159 bool GetExtensionsBlock(base::DictionaryValue** extensions) const;
160 160
161 // Returns the variations seed entry from the master prefs.
162 std::string GetVariationsSeed() const;
163
161 // Returns true iff the master preferences were successfully read from a file. 164 // Returns true iff the master preferences were successfully read from a file.
162 bool read_from_file() const { 165 bool read_from_file() const {
163 return preferences_read_from_file_; 166 return preferences_read_from_file_;
164 } 167 }
165 168
166 bool install_chrome() const { 169 bool install_chrome() const {
167 return chrome_; 170 return chrome_;
168 } 171 }
169 172
170 bool install_chrome_app_host() const { 173 bool install_chrome_app_host() const {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 bool chrome_frame_; 215 bool chrome_frame_;
213 bool multi_install_; 216 bool multi_install_;
214 217
215 private: 218 private:
216 DISALLOW_COPY_AND_ASSIGN(MasterPreferences); 219 DISALLOW_COPY_AND_ASSIGN(MasterPreferences);
217 }; 220 };
218 221
219 } // namespace installer 222 } // namespace installer
220 223
221 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ 224 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run_unittest.cc ('k') | chrome/installer/util/master_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698