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

Side by Side Diff: chrome/browser/profile_resetter/brandcoded_default_settings.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_PROFILE_RESETTER_BRANDCODED_DEFAULT_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_PROFILE_RESETTER_BRANDCODED_DEFAULT_SETTINGS_H_
6 #define CHROME_BROWSER_PROFILE_RESETTER_BRANDCODED_DEFAULT_SETTINGS_H_ 6 #define CHROME_BROWSER_PROFILE_RESETTER_BRANDCODED_DEFAULT_SETTINGS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 14
15 // BrandcodedDefaultSettings provides a set of default settings 15 // BrandcodedDefaultSettings provides a set of default settings
16 // for ProfileResetter. They are specific to Chrome distribution channels. 16 // for ProfileResetter. They are specific to Chrome distribution channels.
17 class BrandcodedDefaultSettings { 17 class BrandcodedDefaultSettings {
18 public: 18 public:
19 BrandcodedDefaultSettings(); 19 BrandcodedDefaultSettings();
20 // Constructs BrandcodedDefaultSettings directly from preferences. 20 // Constructs BrandcodedDefaultSettings directly from preferences.
21 explicit BrandcodedDefaultSettings(const std::string& prefs); 21 explicit BrandcodedDefaultSettings(const std::string& prefs);
(...skipping 17 matching lines...) Expand all
39 39
40 private: 40 private:
41 scoped_ptr<base::ListValue> ExtractList(const char* pref_name) const; 41 scoped_ptr<base::ListValue> ExtractList(const char* pref_name) const;
42 42
43 scoped_ptr<base::DictionaryValue> master_dictionary_; 43 scoped_ptr<base::DictionaryValue> master_dictionary_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(BrandcodedDefaultSettings); 45 DISALLOW_COPY_AND_ASSIGN(BrandcodedDefaultSettings);
46 }; 46 };
47 47
48 #endif // CHROME_BROWSER_PROFILE_RESETTER_BRANDCODED_DEFAULT_SETTINGS_H_ 48 #endif // CHROME_BROWSER_PROFILE_RESETTER_BRANDCODED_DEFAULT_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/profile_resetter/brandcode_config_fetcher.cc ('k') | chrome/browser/profile_resetter/profile_resetter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698