| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "base/supports_user_data.h" | 14 #include "base/supports_user_data.h" |
| 15 #include "components/autofill/core/browser/webdata/autofill_webdata.h" | 15 #include "components/autofill/core/browser/webdata/autofill_webdata.h" |
| 16 #include "components/autofill/core/common/form_field_data.h" | 16 #include "components/autofill/core/common/form_field_data.h" |
| 17 #include "components/sync/base/model_type.h" |
| 17 #include "components/webdata/common/web_data_results.h" | 18 #include "components/webdata/common/web_data_results.h" |
| 18 #include "components/webdata/common/web_data_service_base.h" | 19 #include "components/webdata/common/web_data_service_base.h" |
| 19 #include "components/webdata/common/web_data_service_consumer.h" | 20 #include "components/webdata/common/web_data_service_consumer.h" |
| 20 #include "components/webdata/common/web_database.h" | 21 #include "components/webdata/common/web_database.h" |
| 21 #include "sync/internal_api/public/base/model_type.h" | |
| 22 | 22 |
| 23 class WebDatabaseService; | 23 class WebDatabaseService; |
| 24 | 24 |
| 25 namespace base { | 25 namespace base { |
| 26 class SingleThreadTaskRunner; | 26 class SingleThreadTaskRunner; |
| 27 } | 27 } |
| 28 | 28 |
| 29 namespace autofill { | 29 namespace autofill { |
| 30 | 30 |
| 31 class AutofillChange; | 31 class AutofillChange; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 // This factory is used on the UI thread. All vended weak pointers are | 151 // This factory is used on the UI thread. All vended weak pointers are |
| 152 // invalidated in ShutdownOnUIThread(). | 152 // invalidated in ShutdownOnUIThread(). |
| 153 base::WeakPtrFactory<AutofillWebDataService> weak_ptr_factory_; | 153 base::WeakPtrFactory<AutofillWebDataService> weak_ptr_factory_; |
| 154 | 154 |
| 155 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataService); | 155 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataService); |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 } // namespace autofill | 158 } // namespace autofill |
| 159 | 159 |
| 160 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ | 160 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ |
| OLD | NEW |