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

Unified Diff: components/prefs/json_pref_store.h

Issue 1662523004: Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « components/prefs/default_pref_store.h ('k') | components/prefs/mock_pref_change_callback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/json_pref_store.h
diff --git a/components/prefs/json_pref_store.h b/components/prefs/json_pref_store.h
index 30c1642a77fa938cb6631448fa86103e5d605680..4b19c95d588f796804506665918ba26ed4006447 100644
--- a/components/prefs/json_pref_store.h
+++ b/components/prefs/json_pref_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 BASE_PREFS_JSON_PREF_STORE_H_
-#define BASE_PREFS_JSON_PREF_STORE_H_
+#ifndef COMPONENTS_PREFS_JSON_PREF_STORE_H_
+#define COMPONENTS_PREFS_JSON_PREF_STORE_H_
#include <stdint.h>
@@ -41,7 +41,7 @@ FORWARD_DECLARE_TEST(JsonPrefStoreTest, WriteCountHistogramTestPeriodWithGaps);
}
// A writable PrefStore implementation that is used for user preferences.
-class BASE_PREFS_EXPORT JsonPrefStore
+class COMPONENTS_PREFS_EXPORT JsonPrefStore
: public PersistentPrefStore,
public base::ImportantFileWriter::DataSerializer,
public base::SupportsWeakPtr<JsonPrefStore>,
@@ -114,7 +114,7 @@ class BASE_PREFS_EXPORT JsonPrefStore
private:
// Represents a histogram for recording the number of writes to the pref file
// that occur every kHistogramWriteReportIntervalInMins minutes.
- class BASE_PREFS_EXPORT WriteCountHistogram {
+ class COMPONENTS_PREFS_EXPORT WriteCountHistogram {
public:
static const int32_t kHistogramWriteReportIntervalMins;
@@ -226,4 +226,4 @@ class BASE_PREFS_EXPORT JsonPrefStore
DISALLOW_COPY_AND_ASSIGN(JsonPrefStore);
};
-#endif // BASE_PREFS_JSON_PREF_STORE_H_
+#endif // COMPONENTS_PREFS_JSON_PREF_STORE_H_
« no previous file with comments | « components/prefs/default_pref_store.h ('k') | components/prefs/mock_pref_change_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698