Index: components/user_prefs/tracked/pref_hash_store_transaction.h |
diff --git a/chrome/browser/prefs/tracked/pref_hash_store_transaction.h b/components/user_prefs/tracked/pref_hash_store_transaction.h |
similarity index 86% |
rename from chrome/browser/prefs/tracked/pref_hash_store_transaction.h |
rename to components/user_prefs/tracked/pref_hash_store_transaction.h |
index 62cd602818ec2df23c9be65b28af60c2c2a26883..b8e2cf75e75a0621ea8993e6dd18c369d79fad6e 100644 |
--- a/chrome/browser/prefs/tracked/pref_hash_store_transaction.h |
+++ b/components/user_prefs/tracked/pref_hash_store_transaction.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_STORE_TRANSACTION_H_ |
-#define CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_STORE_TRANSACTION_H_ |
+#ifndef COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_STORE_TRANSACTION_H_ |
+#define COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_STORE_TRANSACTION_H_ |
#include <string> |
#include <vector> |
@@ -42,12 +42,11 @@ class PrefHashStoreTransaction { |
virtual ~PrefHashStoreTransaction() {} |
// Checks |initial_value| against the existing stored value hash. |
- virtual ValueState CheckValue( |
- const std::string& path, const base::Value* initial_value) const = 0; |
+ virtual ValueState CheckValue(const std::string& path, |
+ const base::Value* initial_value) const = 0; |
// Stores a hash of the current |value| of the preference at |path|. |
- virtual void StoreHash(const std::string& path, |
- const base::Value* value) = 0; |
+ virtual void StoreHash(const std::string& path, const base::Value* value) = 0; |
// Checks |initial_value| against the existing stored hashes for the split |
// preference at |path|. |initial_split_value| being an empty dictionary or |
@@ -62,9 +61,8 @@ class PrefHashStoreTransaction { |
// Stores hashes for the |value| of the split preference at |path|. |
// |split_value| being an empty dictionary or NULL is equivalent. |
- virtual void StoreSplitHash( |
- const std::string& path, |
- const base::DictionaryValue* split_value) = 0; |
+ virtual void StoreSplitHash(const std::string& path, |
+ const base::DictionaryValue* split_value) = 0; |
// Indicates whether the store contains a hash for the preference at |path|. |
virtual bool HasHash(const std::string& path) const = 0; |
@@ -93,4 +91,4 @@ class PrefHashStoreTransaction { |
virtual bool StampSuperMac() = 0; |
}; |
-#endif // CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_STORE_TRANSACTION_H_ |
+#endif // COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_STORE_TRANSACTION_H_ |