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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 virtual SidebarManager* sidebar_manager(); | 73 virtual SidebarManager* sidebar_manager(); |
74 | 74 |
75 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); | 75 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); |
76 | 76 |
77 virtual safe_browsing::ClientSideDetectionService* | 77 virtual safe_browsing::ClientSideDetectionService* |
78 safe_browsing_detection_service(); | 78 safe_browsing_detection_service(); |
79 | 79 |
80 virtual ui::Clipboard* clipboard(); | 80 virtual ui::Clipboard* clipboard(); |
81 | 81 |
| 82 virtual ExtensionEventRouterForwarder* extension_event_router_forwarder(); |
| 83 |
82 virtual NotificationUIManager* notification_ui_manager(); | 84 virtual NotificationUIManager* notification_ui_manager(); |
83 | 85 |
84 virtual GoogleURLTracker* google_url_tracker(); | 86 virtual GoogleURLTracker* google_url_tracker(); |
85 | 87 |
86 virtual IntranetRedirectDetector* intranet_redirect_detector(); | 88 virtual IntranetRedirectDetector* intranet_redirect_detector(); |
87 | 89 |
88 virtual AutomationProviderList* InitAutomationProviderList(); | 90 virtual AutomationProviderList* InitAutomationProviderList(); |
89 | 91 |
90 virtual void InitDevToolsHttpProtocolHandler( | 92 virtual void InitDevToolsHttpProtocolHandler( |
91 const std::string& ip, | 93 const std::string& ip, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 160 |
159 private: | 161 private: |
160 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. | 162 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. |
161 // After the transition is over, we should just stack-allocate it. | 163 // After the transition is over, we should just stack-allocate it. |
162 scoped_ptr<TestingBrowserProcess> browser_process_; | 164 scoped_ptr<TestingBrowserProcess> browser_process_; |
163 | 165 |
164 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); | 166 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); |
165 }; | 167 }; |
166 | 168 |
167 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ | 169 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ |
OLD | NEW |