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

Unified Diff: base/prefs/pref_registry_simple.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_registry.cc ('k') | base/prefs/pref_registry_simple.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_registry_simple.h
diff --git a/chrome/browser/prefs/pref_registry_simple.h b/base/prefs/pref_registry_simple.h
similarity index 81%
rename from chrome/browser/prefs/pref_registry_simple.h
rename to base/prefs/pref_registry_simple.h
index d175f50bb69414400183a50b7f67123286359923..50b646711fd5658b0b1847c4bd1a909a9beabf72 100644
--- a/chrome/browser/prefs/pref_registry_simple.h
+++ b/base/prefs/pref_registry_simple.h
@@ -2,12 +2,13 @@
// 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_REGISTRY_SIMPLE_H_
-#define CHROME_BROWSER_PREFS_PREF_REGISTRY_SIMPLE_H_
+#ifndef BASE_PREFS_PREF_REGISTRY_SIMPLE_H_
+#define BASE_PREFS_PREF_REGISTRY_SIMPLE_H_
#include <string>
-#include "chrome/browser/prefs/pref_registry.h"
+#include "base/prefs/base_prefs_export.h"
+#include "base/prefs/pref_registry.h"
namespace base {
class DictionaryValue;
@@ -16,7 +17,7 @@ class ListValue;
}
// A simple implementation of PrefRegistry.
-class PrefRegistrySimple : public PrefRegistry {
+class BASE_PREFS_EXPORT PrefRegistrySimple : public PrefRegistry {
public:
PrefRegistrySimple();
@@ -40,4 +41,4 @@ class PrefRegistrySimple : public PrefRegistry {
DISALLOW_COPY_AND_ASSIGN(PrefRegistrySimple);
};
-#endif // CHROME_BROWSER_PREFS_PREF_REGISTRY_SIMPLE_H_
+#endif // BASE_PREFS_PREF_REGISTRY_SIMPLE_H_
« no previous file with comments | « base/prefs/pref_registry.cc ('k') | base/prefs/pref_registry_simple.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698