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

Unified Diff: chrome/browser/prefs/tracked/pref_hash_store.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: chrome/browser/prefs/tracked/pref_hash_store.h
diff --git a/chrome/browser/prefs/tracked/pref_hash_store.h b/chrome/browser/prefs/tracked/pref_hash_store.h
deleted file mode 100644
index e3f5d8d91d9a6ac3aaed7ffa4f858c3970f0d6a7..0000000000000000000000000000000000000000
--- a/chrome/browser/prefs/tracked/pref_hash_store.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// 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_H_
-#define CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_STORE_H_
-
-#include "base/memory/scoped_ptr.h"
-
-class HashStoreContents;
-class PrefHashStoreTransaction;
-
-// Holds the configuration and implementation used to calculate and verify
-// preference MACs.
-// TODO(gab): Rename this class as it is no longer a store.
-class PrefHashStore {
- public:
- virtual ~PrefHashStore() {}
-
- // Returns a PrefHashStoreTransaction which can be used to perform a series
- // of operations on the hash store. |storage| MAY be used as the backing store
- // depending on the implementation. Therefore the HashStoreContents used for
- // related transactions should correspond to the same underlying data store.
- virtual scoped_ptr<PrefHashStoreTransaction> BeginTransaction(
- scoped_ptr<HashStoreContents> storage) = 0;
-};
-
-#endif // CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_STORE_H_
« no previous file with comments | « chrome/browser/prefs/tracked/pref_hash_filter_unittest.cc ('k') | chrome/browser/prefs/tracked/pref_hash_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698