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

Side by Side Diff: components/prefs/pref_store.h

Issue 1651203002: Update components for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « components/prefs/pref_service_unittest.cc ('k') | components/prefs/pref_store.cc » ('j') | 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) 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 BASE_PREFS_PREF_STORE_H_ 5 #ifndef BASE_PREFS_PREF_STORE_H_
6 #define BASE_PREFS_PREF_STORE_H_ 6 #define BASE_PREFS_PREF_STORE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/prefs/base_prefs_export.h" 12 #include "components/prefs/base_prefs_export.h"
13 13
14 namespace base { 14 namespace base {
15 class Value; 15 class Value;
16 } 16 }
17 17
18 // This is an abstract interface for reading and writing from/to a persistent 18 // This is an abstract interface for reading and writing from/to a persistent
19 // preference store, used by PrefService. An implementation using a JSON file 19 // preference store, used by PrefService. An implementation using a JSON file
20 // can be found in JsonPrefStore, while an implementation without any backing 20 // can be found in JsonPrefStore, while an implementation without any backing
21 // store for testing can be found in TestingPrefStore. Furthermore, there is 21 // store for testing can be found in TestingPrefStore. Furthermore, there is
22 // CommandLinePrefStore, which bridges command line options to preferences and 22 // CommandLinePrefStore, which bridges command line options to preferences and
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 protected: 55 protected:
56 friend class base::RefCounted<PrefStore>; 56 friend class base::RefCounted<PrefStore>;
57 virtual ~PrefStore() {} 57 virtual ~PrefStore() {}
58 58
59 private: 59 private:
60 DISALLOW_COPY_AND_ASSIGN(PrefStore); 60 DISALLOW_COPY_AND_ASSIGN(PrefStore);
61 }; 61 };
62 62
63 #endif // BASE_PREFS_PREF_STORE_H_ 63 #endif // BASE_PREFS_PREF_STORE_H_
OLDNEW
« no previous file with comments | « components/prefs/pref_service_unittest.cc ('k') | components/prefs/pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698