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

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

Issue 2396443002: Revert of Integrate registry_hash_store_contents with the rest of tracked prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 2 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/registry_hash_store_contents_win.h
diff --git a/components/user_prefs/tracked/registry_hash_store_contents_win.h b/components/user_prefs/tracked/registry_hash_store_contents_win.h
index b44898ef69842faa32f82948456a657bc37880e3..c18245e86f0f37d7e4c44abc811a4bfc35819b8e 100644
--- a/components/user_prefs/tracked/registry_hash_store_contents_win.h
+++ b/components/user_prefs/tracked/registry_hash_store_contents_win.h
@@ -18,8 +18,6 @@
const base::string16& store_key);
// HashStoreContents overrides:
- bool IsCopyable() const override;
- std::unique_ptr<HashStoreContents> MakeCopy() const override;
base::StringPiece GetUMASuffix() const override;
void Reset() override;
bool GetMac(const std::string& path, std::string* out_value) override;
@@ -39,11 +37,9 @@
void SetSuperMac(const std::string& super_mac) override;
private:
- // Helper constructor for |MakeCopy|.
- explicit RegistryHashStoreContentsWin(
- const RegistryHashStoreContentsWin& other);
+ const base::string16 preference_key_name_;
- const base::string16 preference_key_name_;
+ DISALLOW_COPY_AND_ASSIGN(RegistryHashStoreContentsWin);
};
#endif // COMPONENTS_USER_PREFS_TRACKED_PREF_REGISTRY_HASH_STORE_CONTENTS_H_
« no previous file with comments | « components/user_prefs/tracked/pref_hash_store.h ('k') | components/user_prefs/tracked/registry_hash_store_contents_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698