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

Side by Side Diff: chrome/browser/prefs/pref_value_store.h

Issue 11243002: Move the bits of Prefs where production code has only trivially easy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, fix gypi problem Created 8 years, 1 month 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 #ifndef CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_ 5 #ifndef CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_
6 #define CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_ 6 #define CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/prefs/pref_store.h"
15 #include "base/values.h" 16 #include "base/values.h"
16 #include "chrome/common/pref_store.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 18
19 class PrefModelAssociator; 19 class PrefModelAssociator;
20 class PrefNotifier; 20 class PrefNotifier;
21 class PrefStore; 21 class PrefStore;
22 22
23 // The PrefValueStore manages various sources of values for Preferences 23 // The PrefValueStore manages various sources of values for Preferences
24 // (e.g., configuration policies, extensions, and user settings). It returns 24 // (e.g., configuration policies, extensions, and user settings). It returns
25 // the value of a Preference from the source with the highest priority, and 25 // the value of a Preference from the source with the highest priority, and
26 // allows setting user-defined values for preferences that are not managed. 26 // allows setting user-defined values for preferences that are not managed.
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // A mapping of preference names to their registered types. 247 // A mapping of preference names to their registered types.
248 PrefTypeMap pref_types_; 248 PrefTypeMap pref_types_;
249 249
250 // True if not all of the PrefStores were initialized successfully. 250 // True if not all of the PrefStores were initialized successfully.
251 bool initialization_failed_; 251 bool initialization_failed_;
252 252
253 DISALLOW_COPY_AND_ASSIGN(PrefValueStore); 253 DISALLOW_COPY_AND_ASSIGN(PrefValueStore);
254 }; 254 };
255 255
256 #endif // CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_ 256 #endif // CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/pref_value_map_unittest.cc ('k') | chrome/browser/prefs/pref_value_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698