| 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 // An implementation of BrowserProcess for unit tests that fails for most | 5 // An implementation of BrowserProcess for unit tests that fails for most |
| 6 // services. By preventing creation of services, we reduce dependencies and | 6 // services. By preventing creation of services, we reduce dependencies and |
| 7 // keep the profile clean. Clients of this class must handle the NULL return | 7 // keep the profile clean. Clients of this class must handle the NULL return |
| 8 // value, however. | 8 // value, however. |
| 9 | 9 |
| 10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ | 10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 printing::PrintJobManager* print_job_manager() override; | 97 printing::PrintJobManager* print_job_manager() override; |
| 98 printing::PrintPreviewDialogController* print_preview_dialog_controller() | 98 printing::PrintPreviewDialogController* print_preview_dialog_controller() |
| 99 override; | 99 override; |
| 100 printing::BackgroundPrintingManager* background_printing_manager() override; | 100 printing::BackgroundPrintingManager* background_printing_manager() override; |
| 101 const std::string& GetApplicationLocale() override; | 101 const std::string& GetApplicationLocale() override; |
| 102 void SetApplicationLocale(const std::string& app_locale) override; | 102 void SetApplicationLocale(const std::string& app_locale) override; |
| 103 DownloadStatusUpdater* download_status_updater() override; | 103 DownloadStatusUpdater* download_status_updater() override; |
| 104 DownloadRequestLimiter* download_request_limiter() override; | 104 DownloadRequestLimiter* download_request_limiter() override; |
| 105 | 105 |
| 106 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 106 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| 107 virtual void StartAutoupdateTimer() override {} | 107 void StartAutoupdateTimer() override {} |
| 108 #endif | 108 #endif |
| 109 | 109 |
| 110 ChromeNetLog* net_log() override; | 110 ChromeNetLog* net_log() override; |
| 111 prerender::PrerenderTracker* prerender_tracker() override; | 111 prerender::PrerenderTracker* prerender_tracker() override; |
| 112 component_updater::ComponentUpdateService* component_updater() override; | 112 component_updater::ComponentUpdateService* component_updater() override; |
| 113 CRLSetFetcher* crl_set_fetcher() override; | 113 CRLSetFetcher* crl_set_fetcher() override; |
| 114 component_updater::PnaclComponentInstaller* pnacl_component_installer() | 114 component_updater::PnaclComponentInstaller* pnacl_component_installer() |
| 115 override; | 115 override; |
| 116 MediaFileSystemRegistry* media_file_system_registry() override; | 116 MediaFileSystemRegistry* media_file_system_registry() override; |
| 117 bool created_local_state() const override; | 117 bool created_local_state() const override; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 class TestingBrowserProcessInitializer { | 201 class TestingBrowserProcessInitializer { |
| 202 public: | 202 public: |
| 203 TestingBrowserProcessInitializer(); | 203 TestingBrowserProcessInitializer(); |
| 204 ~TestingBrowserProcessInitializer(); | 204 ~TestingBrowserProcessInitializer(); |
| 205 | 205 |
| 206 private: | 206 private: |
| 207 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); | 207 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); |
| 208 }; | 208 }; |
| 209 | 209 |
| 210 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ | 210 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ |
| OLD | NEW |