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

Unified Diff: components/user_prefs/tracked/pref_hash_filter.h

Issue 1227973003: Componentize //chrome/browser/prefs/tracked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 4 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
Index: components/user_prefs/tracked/pref_hash_filter.h
diff --git a/chrome/browser/prefs/tracked/pref_hash_filter.h b/components/user_prefs/tracked/pref_hash_filter.h
similarity index 92%
rename from chrome/browser/prefs/tracked/pref_hash_filter.h
rename to components/user_prefs/tracked/pref_hash_filter.h
index bad3ae04a26d9e8ab0a513841af7c004ea720133..5499569406331e16ef6938274b57c8ec240e686c 100644
--- a/chrome/browser/prefs/tracked/pref_hash_filter.h
+++ b/components/user_prefs/tracked/pref_hash_filter.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_TRACKED_PREF_HASH_FILTER_H_
-#define CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_FILTER_H_
+#ifndef COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_FILTER_H_
+#define COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_FILTER_H_
#include <map>
#include <set>
@@ -14,8 +14,8 @@
#include "base/compiler_specific.h"
#include "base/containers/scoped_ptr_hash_map.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/prefs/tracked/interceptable_pref_filter.h"
-#include "chrome/browser/prefs/tracked/tracked_preference.h"
+#include "components/user_prefs/tracked/interceptable_pref_filter.h"
+#include "components/user_prefs/tracked/tracked_preference.h"
class PrefHashStore;
class PrefService;
@@ -37,10 +37,7 @@ class PrefRegistrySyncable;
// are changed.
class PrefHashFilter : public InterceptablePrefFilter {
public:
- enum EnforcementLevel {
- NO_ENFORCEMENT,
- ENFORCE_ON_LOAD
- };
+ enum EnforcementLevel { NO_ENFORCEMENT, ENFORCE_ON_LOAD };
enum PrefTrackingStrategy {
// Atomic preferences are tracked as a whole.
@@ -141,4 +138,4 @@ class PrefHashFilter : public InterceptablePrefFilter {
DISALLOW_COPY_AND_ASSIGN(PrefHashFilter);
};
-#endif // CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_FILTER_H_
+#endif // COMPONENTS_PREFS_TRACKED_PREF_HASH_FILTER_H_
« no previous file with comments | « components/user_prefs/tracked/pref_hash_calculator_unittest.cc ('k') | components/user_prefs/tracked/pref_hash_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698