| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 98   printing::BackgroundPrintingManager* background_printing_manager() override; | 98   printing::BackgroundPrintingManager* background_printing_manager() override; | 
| 99   const std::string& GetApplicationLocale() override; | 99   const std::string& GetApplicationLocale() override; | 
| 100   void SetApplicationLocale(const std::string& app_locale) override; | 100   void SetApplicationLocale(const std::string& app_locale) override; | 
| 101   DownloadStatusUpdater* download_status_updater() override; | 101   DownloadStatusUpdater* download_status_updater() override; | 
| 102   DownloadRequestLimiter* download_request_limiter() override; | 102   DownloadRequestLimiter* download_request_limiter() override; | 
| 103 | 103 | 
| 104 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 104 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 
| 105   void StartAutoupdateTimer() override {} | 105   void StartAutoupdateTimer() override {} | 
| 106 #endif | 106 #endif | 
| 107 | 107 | 
| 108   ChromeNetLog* net_log() override; | 108   net_log::ChromeNetLog* net_log() override; | 
| 109   component_updater::ComponentUpdateService* component_updater() override; | 109   component_updater::ComponentUpdateService* component_updater() override; | 
| 110   CRLSetFetcher* crl_set_fetcher() override; | 110   CRLSetFetcher* crl_set_fetcher() override; | 
| 111   component_updater::PnaclComponentInstaller* pnacl_component_installer() | 111   component_updater::PnaclComponentInstaller* pnacl_component_installer() | 
| 112       override; | 112       override; | 
| 113   component_updater::SupervisedUserWhitelistInstaller* | 113   component_updater::SupervisedUserWhitelistInstaller* | 
| 114   supervised_user_whitelist_installer() override; | 114   supervised_user_whitelist_installer() override; | 
| 115   MediaFileSystemRegistry* media_file_system_registry() override; | 115   MediaFileSystemRegistry* media_file_system_registry() override; | 
| 116   bool created_local_state() const override; | 116   bool created_local_state() const override; | 
| 117 | 117 | 
| 118 #if defined(ENABLE_WEBRTC) | 118 #if defined(ENABLE_WEBRTC) | 
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 205 class TestingBrowserProcessInitializer { | 205 class TestingBrowserProcessInitializer { | 
| 206  public: | 206  public: | 
| 207   TestingBrowserProcessInitializer(); | 207   TestingBrowserProcessInitializer(); | 
| 208   ~TestingBrowserProcessInitializer(); | 208   ~TestingBrowserProcessInitializer(); | 
| 209 | 209 | 
| 210  private: | 210  private: | 
| 211   DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); | 211   DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); | 
| 212 }; | 212 }; | 
| 213 | 213 | 
| 214 #endif  // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ | 214 #endif  // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ | 
| OLD | NEW | 
|---|