| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 virtual SidebarManager* sidebar_manager() OVERRIDE; | 71 virtual SidebarManager* sidebar_manager() OVERRIDE; |
| 72 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() OVERRIDE; | 72 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() OVERRIDE; |
| 73 virtual BackgroundModeManager* background_mode_manager() OVERRIDE; | 73 virtual BackgroundModeManager* background_mode_manager() OVERRIDE; |
| 74 virtual StatusTray* status_tray() OVERRIDE; | 74 virtual StatusTray* status_tray() OVERRIDE; |
| 75 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE; | 75 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE; |
| 76 virtual safe_browsing::ClientSideDetectionService* | 76 virtual safe_browsing::ClientSideDetectionService* |
| 77 safe_browsing_detection_service() OVERRIDE; | 77 safe_browsing_detection_service() OVERRIDE; |
| 78 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; | 78 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; |
| 79 | 79 |
| 80 #if defined(OS_CHROMEOS) | 80 #if defined(OS_CHROMEOS) |
| 81 virtual chromeos::ProxyConfigServiceImpl* | |
| 82 chromeos_proxy_config_service_impl() OVERRIDE; | |
| 83 virtual browser::OomPriorityManager* oom_priority_manager() OVERRIDE; | 81 virtual browser::OomPriorityManager* oom_priority_manager() OVERRIDE; |
| 84 #endif // defined(OS_CHROMEOS) | 82 #endif // defined(OS_CHROMEOS) |
| 85 | 83 |
| 86 virtual ui::Clipboard* clipboard() OVERRIDE; | 84 virtual ui::Clipboard* clipboard() OVERRIDE; |
| 87 virtual ExtensionEventRouterForwarder* | 85 virtual ExtensionEventRouterForwarder* |
| 88 extension_event_router_forwarder() OVERRIDE; | 86 extension_event_router_forwarder() OVERRIDE; |
| 89 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; | 87 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
| 90 virtual GoogleURLTracker* google_url_tracker() OVERRIDE; | 88 virtual GoogleURLTracker* google_url_tracker() OVERRIDE; |
| 91 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE; | 89 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE; |
| 92 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; | 90 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 145 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
| 148 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 146 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 149 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; | 147 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; |
| 150 IOThread* io_thread_; | 148 IOThread* io_thread_; |
| 151 scoped_ptr<DevToolsManager> devtools_manager_; | 149 scoped_ptr<DevToolsManager> devtools_manager_; |
| 152 | 150 |
| 153 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); | 151 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); |
| 154 }; | 152 }; |
| 155 | 153 |
| 156 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ | 154 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ |
| OLD | NEW |