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

Unified Diff: components/user_prefs/tracked/tracked_preference_helper.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/tracked_preference_helper.h
diff --git a/chrome/browser/prefs/tracked/tracked_preference_helper.h b/components/user_prefs/tracked/tracked_preference_helper.h
similarity index 82%
rename from chrome/browser/prefs/tracked/tracked_preference_helper.h
rename to components/user_prefs/tracked/tracked_preference_helper.h
index 8f9b7b6b150ea0e7c27745a95c45ad1bb504e52b..f2fe338d34e98ae86ef1aac3c1c7a5a943cc0b5d 100644
--- a/chrome/browser/prefs/tracked/tracked_preference_helper.h
+++ b/components/user_prefs/tracked/tracked_preference_helper.h
@@ -2,14 +2,14 @@
// 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_TRACKED_PREFERENCE_HELPER_H_
-#define CHROME_BROWSER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_
+#ifndef COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_
+#define COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_
#include <string>
#include "base/macros.h"
-#include "chrome/browser/prefs/tracked/pref_hash_filter.h"
-#include "chrome/browser/prefs/tracked/pref_hash_store_transaction.h"
+#include "components/user_prefs/tracked/pref_hash_filter.h"
+#include "components/user_prefs/tracked/pref_hash_store_transaction.h"
// A TrackedPreferenceHelper is a helper class for TrackedPreference which
// handles decision making and reporting for TrackedPreference's
@@ -34,8 +34,7 @@ class TrackedPreferenceHelper {
// (DONT_RESET) based on observing |value_state|. Can also return WANTED_RESET
// if a reset would have been desired but the current |enforcement_level|
// doesn't allow it.
- ResetAction GetAction(
- PrefHashStoreTransaction::ValueState value_state) const;
+ ResetAction GetAction(PrefHashStoreTransaction::ValueState value_state) const;
// Returns true if the preference value may contain personal information.
bool IsPersonal() const;
@@ -65,4 +64,4 @@ class TrackedPreferenceHelper {
DISALLOW_COPY_AND_ASSIGN(TrackedPreferenceHelper);
};
-#endif // CHROME_BROWSER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_
+#endif // COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCE_HELPER_H_
« no previous file with comments | « components/user_prefs/tracked/tracked_preference.h ('k') | components/user_prefs/tracked/tracked_preference_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698