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

Side by Side Diff: ios/crnet/sdch_owner_pref_storage.cc

Issue 1662523004: Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « ios/crnet/sdch_owner_pref_storage.h ('k') | ios/web/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ios/crnet/sdch_owner_pref_storage.h" 5 #include "ios/crnet/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 { 10 namespace {
11 11
12 static const char kStorageKey[] = "SDCH"; 12 static const char kStorageKey[] = "SDCH";
13 13
14 } // namespace 14 } // namespace
15 15
16 SdchOwnerPrefStorage::SdchOwnerPrefStorage(PersistentPrefStore* storage) 16 SdchOwnerPrefStorage::SdchOwnerPrefStorage(PersistentPrefStore* storage)
17 : storage_(storage), 17 : storage_(storage),
18 storage_key_(kStorageKey), 18 storage_key_(kStorageKey),
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 storage_->RemoveObserver(this); 98 storage_->RemoveObserver(this);
99 } 99 }
100 100
101 void SdchOwnerPrefStorage::OnPrefValueChanged(const std::string& key) { 101 void SdchOwnerPrefStorage::OnPrefValueChanged(const std::string& key) {
102 } 102 }
103 103
104 void SdchOwnerPrefStorage::OnInitializationCompleted(bool succeeded) { 104 void SdchOwnerPrefStorage::OnInitializationCompleted(bool succeeded) {
105 DCHECK(init_observer_); 105 DCHECK(init_observer_);
106 init_observer_->OnPrefStorageInitializationComplete(succeeded); 106 init_observer_->OnPrefStorageInitializationComplete(succeeded);
107 } 107 }
OLDNEW
« no previous file with comments | « ios/crnet/sdch_owner_pref_storage.h ('k') | ios/web/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698