| 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/web_data_service_factory.h" | 5 #include "chrome/browser/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 "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 10 #include "build/build_config.h" |
| 10 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 11 #include "chrome/browser/profiles/incognito_helpers.h" | 12 #include "chrome/browser/profiles/incognito_helpers.h" |
| 12 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/browser/sync/glue/sync_start_util.h" | 14 #include "chrome/browser/sync/glue/sync_start_util.h" |
| 14 #include "chrome/browser/ui/profile_error_dialog.h" | 15 #include "chrome/browser/ui/profile_error_dialog.h" |
| 15 #include "chrome/grit/chromium_strings.h" | 16 #include "chrome/grit/chromium_strings.h" |
| 16 #include "chrome/grit/generated_resources.h" | 17 #include "chrome/grit/generated_resources.h" |
| 17 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 18 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 18 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 19 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
| 19 #include "components/search_engines/keyword_web_data_service.h" | 20 #include "components/search_engines/keyword_web_data_service.h" |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 profile_path, g_browser_process->GetApplicationLocale(), | 169 profile_path, g_browser_process->GetApplicationLocale(), |
| 169 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI), | 170 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI), |
| 170 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB), | 171 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB), |
| 171 sync_start_util::GetFlareForSyncableService(profile_path), | 172 sync_start_util::GetFlareForSyncableService(profile_path), |
| 172 &ProfileErrorCallback); | 173 &ProfileErrorCallback); |
| 173 } | 174 } |
| 174 | 175 |
| 175 bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const { | 176 bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const { |
| 176 return true; | 177 return true; |
| 177 } | 178 } |
| OLD | NEW |