OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_NET_SDCH_OWNER_PREF_STORAGE_H_ | 5 #ifndef CHROME_BROWSER_NET_SDCH_OWNER_PREF_STORAGE_H_ |
6 #define CHROME_BROWSER_NET_SDCH_OWNER_PREF_STORAGE_H_ | 6 #define CHROME_BROWSER_NET_SDCH_OWNER_PREF_STORAGE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/prefs/pref_store.h" | 9 #include "components/prefs/pref_store.h" |
10 #include "net/sdch/sdch_owner.h" | 10 #include "net/sdch/sdch_owner.h" |
11 | 11 |
12 class PersistentPrefStore; | 12 class PersistentPrefStore; |
13 | 13 |
14 namespace chrome_browser_net { | 14 namespace chrome_browser_net { |
15 | 15 |
16 // Provides an implementation of SdchOwner::PrefStorage that maps to | 16 // Provides an implementation of SdchOwner::PrefStorage that maps to |
17 // Chrome's preferences system. | 17 // Chrome's preferences system. |
18 class SdchOwnerPrefStorage | 18 class SdchOwnerPrefStorage |
19 : public net::SdchOwner::PrefStorage, | 19 : public net::SdchOwner::PrefStorage, |
(...skipping 21 matching lines...) Expand all Loading... |
41 const std::string storage_key_; | 41 const std::string storage_key_; |
42 | 42 |
43 net::SdchOwner* init_observer_; // Non-owning. | 43 net::SdchOwner* init_observer_; // Non-owning. |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(SdchOwnerPrefStorage); | 45 DISALLOW_COPY_AND_ASSIGN(SdchOwnerPrefStorage); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace chrome_browser_net | 48 } // namespace chrome_browser_net |
49 | 49 |
50 #endif // CHROME_BROWSER_NET_SDCH_OWNER_PREF_STORAGE_H_ | 50 #endif // CHROME_BROWSER_NET_SDCH_OWNER_PREF_STORAGE_H_ |
OLD | NEW |