OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_H_ |
6 #define CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "base/string16.h" | 15 #include "base/string16.h" |
16 #include "chrome/browser/api/webdata/web_data_service_consumer.h" | 16 #include "chrome/browser/api/webdata/web_data_service_consumer.h" |
17 #include "chrome/browser/autofill/autofill_profile.h" | 17 #include "components/autofill/browser/autofill_profile.h" |
18 #include "chrome/browser/autofill/credit_card.h" | 18 #include "components/autofill/browser/credit_card.h" |
19 #include "chrome/browser/autofill/field_types.h" | 19 #include "components/autofill/browser/field_types.h" |
20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
22 | 22 |
23 class AutofillMetrics; | 23 class AutofillMetrics; |
24 class FormStructure; | 24 class FormStructure; |
25 class PersonalDataManagerObserver; | 25 class PersonalDataManagerObserver; |
26 | 26 |
27 namespace autofill_helper { | 27 namespace autofill_helper { |
28 void SetProfiles(int, std::vector<AutofillProfile>*); | 28 void SetProfiles(int, std::vector<AutofillProfile>*); |
29 void SetCreditCards(int, std::vector<CreditCard>*); | 29 void SetCreditCards(int, std::vector<CreditCard>*); |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 272 |
273 // Whether we have already logged the number of profiles this session. | 273 // Whether we have already logged the number of profiles this session. |
274 mutable bool has_logged_profile_count_; | 274 mutable bool has_logged_profile_count_; |
275 | 275 |
276 // Manages registration lifetime for NotificationObserver implementation. | 276 // Manages registration lifetime for NotificationObserver implementation. |
277 content::NotificationRegistrar notification_registrar_; | 277 content::NotificationRegistrar notification_registrar_; |
278 | 278 |
279 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); | 279 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); |
280 }; | 280 }; |
281 | 281 |
282 #endif // CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_H_ | 282 #endif // COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_H_ |
OLD | NEW |