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

Side by Side Diff: third_party/libaddressinput/chromium/chrome_storage_impl.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
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 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h" 5 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/prefs/writeable_pref_store.h"
11 #include "base/values.h" 10 #include "base/values.h"
11 #include "components/prefs/writeable_pref_store.h"
12 #include "third_party/libaddressinput/chromium/fallback_data_store.h" 12 #include "third_party/libaddressinput/chromium/fallback_data_store.h"
13 13
14 namespace autofill { 14 namespace autofill {
15 15
16 ChromeStorageImpl::ChromeStorageImpl(WriteablePrefStore* store) 16 ChromeStorageImpl::ChromeStorageImpl(WriteablePrefStore* store)
17 : backing_store_(store), 17 : backing_store_(store),
18 scoped_observer_(this) { 18 scoped_observer_(this) {
19 scoped_observer_.Add(backing_store_); 19 scoped_observer_.Add(backing_store_);
20 } 20 }
21 21
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 data_ready(false, key, NULL); 65 data_ready(false, key, NULL);
66 } 66 }
67 } 67 }
68 68
69 ChromeStorageImpl::Request::Request(const std::string& key, 69 ChromeStorageImpl::Request::Request(const std::string& key,
70 const Callback& callback) 70 const Callback& callback)
71 : key(key), 71 : key(key),
72 callback(callback) {} 72 callback(callback) {}
73 73
74 } // namespace autofill 74 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698