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

Side by Side Diff: chrome/test/live_sync/autofill_helper.h

Issue 7541065: autofill: Refactor PersonalDataManager::Observer into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « chrome/chrome_browser.gypi ('k') | chrome/test/live_sync/autofill_helper.cc » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_TEST_LIVE_SYNC_AUTOFILL_HELPER_H_ 5 #ifndef CHROME_TEST_LIVE_SYNC_AUTOFILL_HELPER_H_
6 #define CHROME_TEST_LIVE_SYNC_AUTOFILL_HELPER_H_ 6 #define CHROME_TEST_LIVE_SYNC_AUTOFILL_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string>
10 #include <vector> 11 #include <vector>
11 12
12 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
13 #include "chrome/browser/autofill/personal_data_manager.h" 14 #include "base/string16.h"
14 #include "chrome/test/live_sync/sync_datatype_helper.h" 15 #include "chrome/test/live_sync/sync_datatype_helper.h"
15 16
16 class AutofillEntry; 17 class AutofillEntry;
17 class AutofillKey; 18 class AutofillKey;
18 class AutofillProfile; 19 class AutofillProfile;
20 class AutofillType;
21 class PersonalDataManager;
19 class WebDataService; 22 class WebDataService;
20 23
21 class AutofillHelper : public SyncDatatypeHelper { 24 class AutofillHelper : public SyncDatatypeHelper {
22 public: 25 public:
23 enum ProfileType { 26 enum ProfileType {
24 PROFILE_MARION, 27 PROFILE_MARION,
25 PROFILE_HOMER, 28 PROFILE_HOMER,
26 PROFILE_FRASIER, 29 PROFILE_FRASIER,
27 PROFILE_NULL 30 PROFILE_NULL
28 }; 31 };
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 static AutofillProfile CreateAutofillProfile(ProfileType type); 92 static AutofillProfile CreateAutofillProfile(ProfileType type);
90 protected: 93 protected:
91 AutofillHelper(); 94 AutofillHelper();
92 virtual ~AutofillHelper(); 95 virtual ~AutofillHelper();
93 96
94 private: 97 private:
95 DISALLOW_COPY_AND_ASSIGN(AutofillHelper); 98 DISALLOW_COPY_AND_ASSIGN(AutofillHelper);
96 }; 99 };
97 100
98 #endif // CHROME_TEST_LIVE_SYNC_AUTOFILL_HELPER_H_ 101 #endif // CHROME_TEST_LIVE_SYNC_AUTOFILL_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/live_sync/autofill_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698