Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: chrome/test/testing_browser_process.h

Issue 6598002: Make the ChromeNetworkDelegate use the ExtensionEventRouterForwarder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use profile id Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 158
157 private: 159 private:
158 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062. 160 // TODO(phajdan.jr): Temporary, for http://crbug.com/61062.
159 // After the transition is over, we should just stack-allocate it. 161 // After the transition is over, we should just stack-allocate it.
160 scoped_ptr<TestingBrowserProcess> browser_process_; 162 scoped_ptr<TestingBrowserProcess> browser_process_;
161 163
162 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess); 164 DISALLOW_COPY_AND_ASSIGN(ScopedTestingBrowserProcess);
163 }; 165 };
164 166
165 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_ 167 #endif // CHROME_TEST_TESTING_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698