| 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_TESTING_BROWSER_PROCESS_H_ | 10 #ifndef CHROME_TEST_TESTING_BROWSER_PROCESS_H_ |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 virtual DevToolsManager* devtools_manager(); | 72 virtual DevToolsManager* devtools_manager(); |
| 73 | 73 |
| 74 virtual SidebarManager* sidebar_manager(); | 74 virtual SidebarManager* sidebar_manager(); |
| 75 | 75 |
| 76 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); | 76 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); |
| 77 | 77 |
| 78 virtual safe_browsing::ClientSideDetectionService* | 78 virtual safe_browsing::ClientSideDetectionService* |
| 79 safe_browsing_detection_service(); | 79 safe_browsing_detection_service(); |
| 80 | 80 |
| 81 virtual scoped_refptr<URLRequestContextGetter> system_request_context(); |
| 82 |
| 83 #if defined(OS_CHROMEOS) |
| 84 virtual chromeos::ProxyConfigServiceImpl* |
| 85 chromeos_proxy_config_service_impl(); |
| 86 #endif // defined(OS_CHROMEOS) |
| 87 |
| 81 virtual ui::Clipboard* clipboard(); | 88 virtual ui::Clipboard* clipboard(); |
| 82 | 89 |
| 83 virtual NotificationUIManager* notification_ui_manager(); | 90 virtual NotificationUIManager* notification_ui_manager(); |
| 84 | 91 |
| 85 virtual GoogleURLTracker* google_url_tracker(); | 92 virtual GoogleURLTracker* google_url_tracker(); |
| 86 | 93 |
| 87 virtual IntranetRedirectDetector* intranet_redirect_detector(); | 94 virtual IntranetRedirectDetector* intranet_redirect_detector(); |
| 88 | 95 |
| 89 virtual AutomationProviderList* InitAutomationProviderList(); | 96 virtual AutomationProviderList* InitAutomationProviderList(); |
| 90 | 97 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 164 |
| 158 private: | 165 private: |
| 159 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. | 166 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. |
| 160 // After the transition is over, we should just stack-allocate it. | 167 // After the transition is over, we should just stack-allocate it. |
| 161 scoped_ptr<TestingBrowserProcess> browser_process_; | 168 scoped_ptr<TestingBrowserProcess> browser_process_; |
| 162 | 169 |
| 163 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); | 170 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); |
| 164 }; | 171 }; |
| 165 | 172 |
| 166 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ | 173 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ |
| OLD | NEW |