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

Side by Side Diff: third_party/libaddressinput/chromium/chrome_storage_impl.h

Issue 1662843002: Revert of 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 #ifndef THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_STORAGE_IMPL_H_ 5 #ifndef THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_STORAGE_IMPL_H_
6 #define THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_STORAGE_IMPL_H_ 6 #define THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_STORAGE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "base/prefs/pref_store.h"
13 #include "base/scoped_observer.h" 14 #include "base/scoped_observer.h"
14 #include "components/prefs/pref_store.h"
15 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/storage.h" 15 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/storage.h"
16 16
17 class WriteablePrefStore; 17 class WriteablePrefStore;
18 18
19 namespace autofill { 19 namespace autofill {
20 20
21 // An implementation of the Storage interface which passes through to an 21 // An implementation of the Storage interface which passes through to an
22 // underlying WriteablePrefStore. 22 // underlying WriteablePrefStore.
23 class ChromeStorageImpl : public ::i18n::addressinput::Storage, 23 class ChromeStorageImpl : public ::i18n::addressinput::Storage,
24 public PrefStore::Observer { 24 public PrefStore::Observer {
(...skipping 28 matching lines...) Expand all
53 ScopedVector<Request> outstanding_requests_; 53 ScopedVector<Request> outstanding_requests_;
54 54
55 ScopedObserver<PrefStore, ChromeStorageImpl> scoped_observer_; 55 ScopedObserver<PrefStore, ChromeStorageImpl> scoped_observer_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(ChromeStorageImpl); 57 DISALLOW_COPY_AND_ASSIGN(ChromeStorageImpl);
58 }; 58 };
59 59
60 } // namespace autofill 60 } // namespace autofill
61 61
62 #endif // THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_STORAGE_IMPL_H_ 62 #endif // THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_STORAGE_IMPL_H_
OLDNEW
« no previous file with comments | « third_party/libaddressinput/chromium/DEPS ('k') | third_party/libaddressinput/chromium/chrome_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698