| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 virtual IconManager* icon_manager(); | 76 virtual IconManager* icon_manager(); |
| 77 | 77 |
| 78 virtual ThumbnailGenerator* GetThumbnailGenerator(); | 78 virtual ThumbnailGenerator* GetThumbnailGenerator(); |
| 79 | 79 |
| 80 virtual DevToolsManager* devtools_manager(); | 80 virtual DevToolsManager* devtools_manager(); |
| 81 | 81 |
| 82 virtual SidebarManager* sidebar_manager(); | 82 virtual SidebarManager* sidebar_manager(); |
| 83 | 83 |
| 84 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); | 84 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); |
| 85 | 85 |
| 86 virtual BackgroundModeManager* background_mode_manager(); |
| 87 |
| 88 virtual StatusTray* status_tray(); |
| 89 |
| 86 virtual safe_browsing::ClientSideDetectionService* | 90 virtual safe_browsing::ClientSideDetectionService* |
| 87 safe_browsing_detection_service(); | 91 safe_browsing_detection_service(); |
| 88 | 92 |
| 89 virtual net::URLRequestContextGetter* system_request_context(); | 93 virtual net::URLRequestContextGetter* system_request_context(); |
| 90 | 94 |
| 91 #if defined(OS_CHROMEOS) | 95 #if defined(OS_CHROMEOS) |
| 92 virtual chromeos::ProxyConfigServiceImpl* | 96 virtual chromeos::ProxyConfigServiceImpl* |
| 93 chromeos_proxy_config_service_impl(); | 97 chromeos_proxy_config_service_impl(); |
| 94 #endif // defined(OS_CHROMEOS) | 98 #endif // defined(OS_CHROMEOS) |
| 95 | 99 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 185 |
| 182 private: | 186 private: |
| 183 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. | 187 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. |
| 184 // After the transition is over, we should just stack-allocate it. | 188 // After the transition is over, we should just stack-allocate it. |
| 185 scoped_ptr<TestingBrowserProcess> browser_process_; | 189 scoped_ptr<TestingBrowserProcess> browser_process_; |
| 186 | 190 |
| 187 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); | 191 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); |
| 188 }; | 192 }; |
| 189 | 193 |
| 190 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ | 194 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ |
| OLD | NEW |