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

Unified Diff: base/prefs/pref_value_store.h

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/prefs/pref_service_builder.cc ('k') | base/prefs/pref_value_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_value_store.h
diff --git a/chrome/browser/prefs/pref_value_store.h b/base/prefs/pref_value_store.h
similarity index 98%
rename from chrome/browser/prefs/pref_value_store.h
rename to base/prefs/pref_value_store.h
index 404796ba8ab37ab092116348f057267b63a494a3..3006b6e6b975f71115f1621dee311484411781fc 100644
--- a/chrome/browser/prefs/pref_value_store.h
+++ b/base/prefs/pref_value_store.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_
-#define CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_
+#ifndef BASE_PREFS_PREF_VALUE_STORE_H_
+#define BASE_PREFS_PREF_VALUE_STORE_H_
#include <map>
#include <string>
@@ -13,6 +13,7 @@
#include "base/callback.h"
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
+#include "base/prefs/base_prefs_export.h"
#include "base/prefs/pref_store.h"
#include "base/values.h"
@@ -26,7 +27,7 @@ class PrefStore;
//
// Unless otherwise explicitly noted, all of the methods of this class must
// be called on the UI thread.
-class PrefValueStore {
+class BASE_PREFS_EXPORT PrefValueStore {
public:
typedef base::Callback<void(const std::string&)> PrefChangedCallback;
@@ -256,4 +257,4 @@ class PrefValueStore {
DISALLOW_COPY_AND_ASSIGN(PrefValueStore);
};
-#endif // CHROME_BROWSER_PREFS_PREF_VALUE_STORE_H_
+#endif // BASE_PREFS_PREF_VALUE_STORE_H_
« no previous file with comments | « base/prefs/pref_service_builder.cc ('k') | base/prefs/pref_value_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698