OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |