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

Unified Diff: base/prefs/pref_service_builder.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.cc ('k') | base/prefs/pref_service_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_service_builder.h
diff --git a/chrome/browser/prefs/pref_service_builder.h b/base/prefs/pref_service_builder.h
similarity index 89%
rename from chrome/browser/prefs/pref_service_builder.h
rename to base/prefs/pref_service_builder.h
index 21489aee99ec8c1ff70ec2742688ffb29a52d0b7..4bd4fde7dd6328f0e7c57eec58a481be3922cddf 100644
--- a/chrome/browser/prefs/pref_service_builder.h
+++ b/base/prefs/pref_service_builder.h
@@ -2,15 +2,16 @@
// 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_SERVICE_BUILDER_H_
-#define CHROME_BROWSER_PREFS_PREF_SERVICE_BUILDER_H_
+#ifndef BASE_PREFS_PREF_SERVICE_BUILDER_H_
+#define BASE_PREFS_PREF_SERVICE_BUILDER_H_
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/ref_counted.h"
+#include "base/prefs/base_prefs_export.h"
#include "base/prefs/persistent_pref_store.h"
+#include "base/prefs/pref_registry.h"
#include "base/prefs/pref_store.h"
-#include "chrome/browser/prefs/pref_registry.h"
class PrefService;
@@ -20,7 +21,7 @@ class SequencedTaskRunner;
}
// A class that allows convenient building of PrefService.
-class PrefServiceBuilder {
+class BASE_PREFS_EXPORT PrefServiceBuilder {
public:
PrefServiceBuilder();
virtual ~PrefServiceBuilder();
@@ -68,4 +69,4 @@ class PrefServiceBuilder {
DISALLOW_COPY_AND_ASSIGN(PrefServiceBuilder);
};
-#endif // CHROME_BROWSER_PREFS_PREF_SERVICE_BUILDER_H_
+#endif // BASE_PREFS_PREF_SERVICE_BUILDER_H_
« no previous file with comments | « base/prefs/pref_service.cc ('k') | base/prefs/pref_service_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698