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 #include "chrome/browser/webdata/web_data_service_factory.h" | 5 #include "chrome/browser/webdata/web_data_service_factory.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "chrome/browser/profiles/profile_dependency_manager.h" | 9 #include "chrome/browser/profiles/profile_dependency_manager.h" |
10 #include "chrome/browser/ui/profile_error_dialog.h" | 10 #include "chrome/browser/ui/profile_error_dialog.h" |
11 #include "chrome/browser/webdata/autocomplete_syncable_service.h" | 11 #include "chrome/browser/webdata/autocomplete_syncable_service.h" |
12 #include "chrome/browser/webdata/autofill_profile_syncable_service.h" | 12 #include "chrome/browser/webdata/autofill_profile_syncable_service.h" |
13 #include "chrome/browser/webdata/autofill_table.h" | |
14 #include "chrome/browser/webdata/autofill_web_data_service.h" | |
15 #include "chrome/browser/webdata/keyword_table.h" | 13 #include "chrome/browser/webdata/keyword_table.h" |
16 #include "chrome/browser/webdata/logins_table.h" | 14 #include "chrome/browser/webdata/logins_table.h" |
17 #include "chrome/browser/webdata/token_service_table.h" | 15 #include "chrome/browser/webdata/token_service_table.h" |
18 #include "chrome/browser/webdata/web_apps_table.h" | 16 #include "chrome/browser/webdata/web_apps_table.h" |
19 #include "chrome/browser/webdata/web_data_service.h" | 17 #include "chrome/browser/webdata/web_data_service.h" |
20 #include "chrome/browser/webdata/web_intents_table.h" | 18 #include "chrome/browser/webdata/web_intents_table.h" |
21 #include "chrome/browser/webdata/webdata_constants.h" | 19 #include "chrome/browser/webdata/webdata_constants.h" |
22 #include "components/autofill/browser/autofill_country.h" | 20 #include "components/autofill/browser/autofill_country.h" |
| 21 #include "components/webdata/autofill/autofill_table.h" |
| 22 #include "components/webdata/autofill/autofill_webdata_service.h" |
23 #include "content/public/browser/browser_thread.h" | 23 #include "content/public/browser/browser_thread.h" |
24 #include "grit/chromium_strings.h" | 24 #include "grit/chromium_strings.h" |
25 #include "grit/generated_resources.h" | 25 #include "grit/generated_resources.h" |
26 | 26 |
27 using content::BrowserThread; | 27 using content::BrowserThread; |
28 | 28 |
29 namespace { | 29 namespace { |
30 | 30 |
31 // Callback to show error dialog on profile load error. | 31 // Callback to show error dialog on profile load error. |
32 void ProfileErrorCallback(sql::InitStatus status) { | 32 void ProfileErrorCallback(sql::InitStatus status) { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 } | 181 } |
182 | 182 |
183 ProfileKeyedService* | 183 ProfileKeyedService* |
184 WebDataServiceFactory::BuildServiceInstanceFor(Profile* profile) const { | 184 WebDataServiceFactory::BuildServiceInstanceFor(Profile* profile) const { |
185 return new WebDataServiceWrapper(profile); | 185 return new WebDataServiceWrapper(profile); |
186 } | 186 } |
187 | 187 |
188 bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const { | 188 bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const { |
189 return true; | 189 return true; |
190 } | 190 } |
OLD | NEW |