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

Side by Side Diff: components/user_prefs/tracked/pref_hash_store_impl.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_STORE_IMPL_H_ 5 #ifndef COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_STORE_IMPL_H_
6 #define CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_STORE_IMPL_H_ 6 #define COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_STORE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/prefs/tracked/pref_hash_calculator.h" 13 #include "components/user_prefs/tracked/pref_hash_calculator.h"
14 #include "chrome/browser/prefs/tracked/pref_hash_store.h" 14 #include "components/user_prefs/tracked/pref_hash_store.h"
15 15
16 class HashStoreContents; 16 class HashStoreContents;
17 class PrefHashStoreTransaction; 17 class PrefHashStoreTransaction;
18 18
19 // Implements PrefHashStoreImpl by storing preference hashes in a 19 // Implements PrefHashStoreImpl by storing preference hashes in a
20 // HashStoreContents. 20 // HashStoreContents.
21 class PrefHashStoreImpl : public PrefHashStore { 21 class PrefHashStoreImpl : public PrefHashStore {
22 public: 22 public:
23 enum StoreVersion { 23 enum StoreVersion {
24 // No hashes have been stored in this PrefHashStore yet. 24 // No hashes have been stored in this PrefHashStore yet.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 private: 57 private:
58 class PrefHashStoreTransactionImpl; 58 class PrefHashStoreTransactionImpl;
59 59
60 const PrefHashCalculator pref_hash_calculator_; 60 const PrefHashCalculator pref_hash_calculator_;
61 scoped_ptr<HashStoreContents> legacy_hash_store_contents_; 61 scoped_ptr<HashStoreContents> legacy_hash_store_contents_;
62 bool use_super_mac_; 62 bool use_super_mac_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(PrefHashStoreImpl); 64 DISALLOW_COPY_AND_ASSIGN(PrefHashStoreImpl);
65 }; 65 };
66 66
67 #endif // CHROME_BROWSER_PREFS_TRACKED_PREF_HASH_STORE_IMPL_H_ 67 #endif // COMPONENTS_USER_PREFS_TRACKED_PREF_HASH_STORE_IMPL_H_
OLDNEW
« no previous file with comments | « components/user_prefs/tracked/pref_hash_store.h ('k') | components/user_prefs/tracked/pref_hash_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698