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

Side by Side Diff: chrome/browser/autofill/address_storage_factory.h

Issue 105823007: WIP - Chrome's libaddressinput storage implementation, step 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/autofill/address_storage_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_AUTOFILL_ADDRESS_STORAGE_FACTORY_H_
6 #define CHROME_BROWSER_AUTOFILL_ADDRESS_STORAGE_FACTORY_H_
7
8 #include "base/basictypes.h"
9 #include "base/lazy_instance.h"
10 #include "base/memory/ref_counted.h"
11
12 namespace i18n {
13 namespace addressinput {
14 class ChromeStorageImpl;
15 }
16 }
17
18 class JsonPrefStore;
19 class PersistentPrefStore;
20
21 namespace autofill {
22
23 // Creates ChromeStorageImpls, all of which are backed by a common pref store.
24 class AddressStorageFactory {
25 public:
26 static ::i18n::addressinput::ChromeStorageImpl* CreateChromeStorage();
27
28 private:
29 friend struct base::DefaultLazyInstanceTraits<AddressStorageFactory>;
30
31 AddressStorageFactory();
32 ~AddressStorageFactory();
33
34 scoped_refptr<JsonPrefStore> json_pref_store_;
35
36 DISALLOW_COPY_AND_ASSIGN(AddressStorageFactory);
37 };
38
39 } // namespace autofill
40
41 #endif // CHROME_BROWSER_AUTOFILL_ADDRESS_STORAGE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autofill/address_storage_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698