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

Side by Side Diff: base/prefs/json_pref_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, 2 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 | « base/prefs/default_pref_store.cc ('k') | base/prefs/json_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 CHROME_COMMON_JSON_PREF_STORE_H_ 5 #ifndef BASE_PREFS_JSON_PREF_STORE_H_
6 #define CHROME_COMMON_JSON_PREF_STORE_H_ 6 #define BASE_PREFS_JSON_PREF_STORE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/observer_list.h" 15 #include "base/observer_list.h"
16 #include "base/prefs/persistent_pref_store.h"
16 #include "chrome/common/important_file_writer.h" 17 #include "chrome/common/important_file_writer.h"
17 #include "chrome/common/persistent_pref_store.h"
18 18
19 namespace base { 19 namespace base {
20 class DictionaryValue; 20 class DictionaryValue;
21 class MessageLoopProxy; 21 class MessageLoopProxy;
22 class Value; 22 class Value;
23 } 23 }
24 24
25 class FilePath; 25 class FilePath;
26 26
27 // A writable PrefStore implementation that is used for user preferences. 27 // A writable PrefStore implementation that is used for user preferences.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 scoped_ptr<ReadErrorDelegate> error_delegate_; 83 scoped_ptr<ReadErrorDelegate> error_delegate_;
84 84
85 bool initialized_; 85 bool initialized_;
86 PrefReadError read_error_; 86 PrefReadError read_error_;
87 87
88 std::set<std::string> keys_need_empty_value_; 88 std::set<std::string> keys_need_empty_value_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore); 90 DISALLOW_COPY_AND_ASSIGN(JsonPrefStore);
91 }; 91 };
92 92
93 #endif // CHROME_COMMON_JSON_PREF_STORE_H_ 93 #endif // BASE_PREFS_JSON_PREF_STORE_H_
OLDNEW
« no previous file with comments | « base/prefs/default_pref_store.cc ('k') | base/prefs/json_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698