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

Side by Side Diff: components/user_prefs/tracked/dictionary_hash_store_contents.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DICTIONARY_HASH_STORE_CONTENTS_H_ 5 #ifndef COMPONENTS_USER_PREFS_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_
6 #define CHROME_BROWSER_PREFS_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_ 6 #define COMPONENTS_USER_PREFS_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/prefs/tracked/hash_store_contents.h" 10 #include "components/user_prefs/tracked/hash_store_contents.h"
11 11
12 namespace base { 12 namespace base {
13 class DictionaryValue; 13 class DictionaryValue;
14 } // namespace base 14 } // namespace base
15 15
16 namespace user_prefs { 16 namespace user_prefs {
17 class PrefRegistrySyncable; 17 class PrefRegistrySyncable;
18 } // namespace user_prefs 18 } // namespace user_prefs
19 19
20 // Implements HashStoreContents by storing MACs in a DictionaryValue. The 20 // Implements HashStoreContents by storing MACs in a DictionaryValue. The
(...skipping 17 matching lines...) Expand all
38 scoped_ptr<MutableDictionary> GetMutableContents() override; 38 scoped_ptr<MutableDictionary> GetMutableContents() override;
39 std::string GetSuperMac() const override; 39 std::string GetSuperMac() const override;
40 void SetSuperMac(const std::string& super_mac) override; 40 void SetSuperMac(const std::string& super_mac) override;
41 41
42 private: 42 private:
43 base::DictionaryValue* storage_; 43 base::DictionaryValue* storage_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(DictionaryHashStoreContents); 45 DISALLOW_COPY_AND_ASSIGN(DictionaryHashStoreContents);
46 }; 46 };
47 47
48 #endif // CHROME_BROWSER_PREFS_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_ 48 #endif // COMPONENTS_USER_PREFS_TRACKED_DICTIONARY_HASH_STORE_CONTENTS_H_
OLDNEW
« no previous file with comments | « components/user_prefs/tracked/device_id_win.cc ('k') | components/user_prefs/tracked/dictionary_hash_store_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698