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

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

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/grit/chromium_strings.h"
15 #include "chrome/grit/generated_resources.h"
14 #include "components/autofill/core/browser/autofill_country.h" 16 #include "components/autofill/core/browser/autofill_country.h"
15 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser vice.h" 17 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser vice.h"
16 #include "components/autofill/core/browser/webdata/autofill_table.h" 18 #include "components/autofill/core/browser/webdata/autofill_table.h"
17 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 19 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
18 #include "components/keyed_service/content/browser_context_dependency_manager.h" 20 #include "components/keyed_service/content/browser_context_dependency_manager.h"
19 #include "components/password_manager/core/browser/webdata/logins_table.h" 21 #include "components/password_manager/core/browser/webdata/logins_table.h"
20 #include "components/search_engines/keyword_table.h" 22 #include "components/search_engines/keyword_table.h"
21 #include "components/search_engines/keyword_web_data_service.h" 23 #include "components/search_engines/keyword_web_data_service.h"
22 #include "components/signin/core/browser/webdata/token_service_table.h" 24 #include "components/signin/core/browser/webdata/token_service_table.h"
23 #include "components/signin/core/browser/webdata/token_web_data.h" 25 #include "components/signin/core/browser/webdata/token_web_data.h"
24 #include "components/webdata/common/webdata_constants.h" 26 #include "components/webdata/common/webdata_constants.h"
25 #include "content/public/browser/browser_thread.h" 27 #include "content/public/browser/browser_thread.h"
26 #include "grit/chromium_strings.h"
27 #include "grit/generated_resources.h"
28 28
29 #if defined(OS_WIN) 29 #if defined(OS_WIN)
30 #include "components/password_manager/core/browser/webdata/password_web_data_ser vice_win.h" 30 #include "components/password_manager/core/browser/webdata/password_web_data_ser vice_win.h"
31 #endif 31 #endif
32 32
33 using autofill::AutofillWebDataService; 33 using autofill::AutofillWebDataService;
34 using autofill::AutofillProfileSyncableService; 34 using autofill::AutofillProfileSyncableService;
35 using content::BrowserThread; 35 using content::BrowserThread;
36 36
37 namespace { 37 namespace {
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 } 260 }
261 261
262 KeyedService* WebDataServiceFactory::BuildServiceInstanceFor( 262 KeyedService* WebDataServiceFactory::BuildServiceInstanceFor(
263 content::BrowserContext* profile) const { 263 content::BrowserContext* profile) const {
264 return new WebDataServiceWrapper(static_cast<Profile*>(profile)); 264 return new WebDataServiceWrapper(static_cast<Profile*>(profile));
265 } 265 }
266 266
267 bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const { 267 bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const {
268 return true; 268 return true;
269 } 269 }
OLDNEW
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698