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 #include "chrome/browser/net/sdch_owner_pref_storage.h" | 5 #include "chrome/browser/net/sdch_owner_pref_storage.h" |
6 | 6 |
7 #include "base/prefs/persistent_pref_store.h" | |
8 #include "base/values.h" | 7 #include "base/values.h" |
| 8 #include "components/prefs/persistent_pref_store.h" |
9 | 9 |
10 namespace chrome_browser_net { | 10 namespace chrome_browser_net { |
11 | 11 |
12 namespace { | 12 namespace { |
13 | 13 |
14 static const char kStorageKey[] = "SDCH"; | 14 static const char kStorageKey[] = "SDCH"; |
15 | 15 |
16 } // namespace | 16 } // namespace |
17 | 17 |
18 SdchOwnerPrefStorage::SdchOwnerPrefStorage(PersistentPrefStore* storage) | 18 SdchOwnerPrefStorage::SdchOwnerPrefStorage(PersistentPrefStore* storage) |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 102 |
103 void SdchOwnerPrefStorage::OnPrefValueChanged(const std::string& key) { | 103 void SdchOwnerPrefStorage::OnPrefValueChanged(const std::string& key) { |
104 } | 104 } |
105 | 105 |
106 void SdchOwnerPrefStorage::OnInitializationCompleted(bool succeeded) { | 106 void SdchOwnerPrefStorage::OnInitializationCompleted(bool succeeded) { |
107 DCHECK(init_observer_); | 107 DCHECK(init_observer_); |
108 init_observer_->OnPrefStorageInitializationComplete(succeeded); | 108 init_observer_->OnPrefStorageInitializationComplete(succeeded); |
109 } | 109 } |
110 | 110 |
111 } // namespace chrome_browser_net | 111 } // namespace chrome_browser_net |
OLD | NEW |