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

Side by Side Diff: chrome/browser/webdata/web_data_service_factory.cc

Issue 129463002: Move AutofillProfileSyncableService into the Autofill component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Propagate define Created 6 years, 11 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
OLDNEW
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/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/profiles/incognito_helpers.h" 10 #include "chrome/browser/profiles/incognito_helpers.h"
11 #include "chrome/browser/sync/glue/sync_start_util.h" 11 #include "chrome/browser/sync/glue/sync_start_util.h"
12 #include "chrome/browser/ui/profile_error_dialog.h" 12 #include "chrome/browser/ui/profile_error_dialog.h"
13 #include "chrome/browser/webdata/autocomplete_syncable_service.h" 13 #include "chrome/browser/webdata/autocomplete_syncable_service.h"
14 #include "chrome/browser/webdata/autofill_profile_syncable_service.h"
15 #include "chrome/browser/webdata/keyword_table.h" 14 #include "chrome/browser/webdata/keyword_table.h"
16 #include "chrome/browser/webdata/logins_table.h" 15 #include "chrome/browser/webdata/logins_table.h"
17 #include "chrome/browser/webdata/web_apps_table.h" 16 #include "chrome/browser/webdata/web_apps_table.h"
18 #include "chrome/browser/webdata/web_data_service.h" 17 #include "chrome/browser/webdata/web_data_service.h"
19 #include "chrome/browser/webdata/web_intents_table.h" 18 #include "chrome/browser/webdata/web_intents_table.h"
20 #include "components/autofill/core/browser/autofill_country.h" 19 #include "components/autofill/core/browser/autofill_country.h"
20 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser vice.h"
21 #include "components/autofill/core/browser/webdata/autofill_table.h" 21 #include "components/autofill/core/browser/webdata/autofill_table.h"
22 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 22 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
23 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h" 23 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h"
24 #include "components/signin/core/webdata/token_service_table.h" 24 #include "components/signin/core/webdata/token_service_table.h"
25 #include "components/signin/core/webdata/token_web_data.h" 25 #include "components/signin/core/webdata/token_web_data.h"
26 #include "components/webdata/common/webdata_constants.h" 26 #include "components/webdata/common/webdata_constants.h"
27 #include "content/public/browser/browser_thread.h" 27 #include "content/public/browser/browser_thread.h"
28 #include "grit/chromium_strings.h" 28 #include "grit/chromium_strings.h"
29 #include "grit/generated_resources.h" 29 #include "grit/generated_resources.h"
30 30
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 } 229 }
230 230
231 BrowserContextKeyedService* WebDataServiceFactory::BuildServiceInstanceFor( 231 BrowserContextKeyedService* WebDataServiceFactory::BuildServiceInstanceFor(
232 content::BrowserContext* profile) const { 232 content::BrowserContext* profile) const {
233 return new WebDataServiceWrapper(static_cast<Profile*>(profile)); 233 return new WebDataServiceWrapper(static_cast<Profile*>(profile));
234 } 234 }
235 235
236 bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const { 236 bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const {
237 return true; 237 return true;
238 } 238 }
OLDNEW
« no previous file with comments | « chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698