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

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

Issue 1689423003: Remove HostDesktopType from remote dev tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 safe_browsing::SafeBrowsingService* safe_browsing_service() override; 82 safe_browsing::SafeBrowsingService* safe_browsing_service() override;
83 safe_browsing::ClientSideDetectionService* safe_browsing_detection_service() 83 safe_browsing::ClientSideDetectionService* safe_browsing_detection_service()
84 override; 84 override;
85 net::URLRequestContextGetter* system_request_context() override; 85 net::URLRequestContextGetter* system_request_context() override;
86 BrowserProcessPlatformPart* platform_part() override; 86 BrowserProcessPlatformPart* platform_part() override;
87 87
88 extensions::EventRouterForwarder* extension_event_router_forwarder() override; 88 extensions::EventRouterForwarder* extension_event_router_forwarder() override;
89 NotificationUIManager* notification_ui_manager() override; 89 NotificationUIManager* notification_ui_manager() override;
90 message_center::MessageCenter* message_center() override; 90 message_center::MessageCenter* message_center() override;
91 IntranetRedirectDetector* intranet_redirect_detector() override; 91 IntranetRedirectDetector* intranet_redirect_detector() override;
92 void CreateDevToolsHttpProtocolHandler( 92 void CreateDevToolsHttpProtocolHandler(const std::string& ip,
93 chrome::HostDesktopType host_desktop_type, 93 uint16_t port) override;
94 const std::string& ip,
95 uint16_t port) override;
96 unsigned int AddRefModule() override; 94 unsigned int AddRefModule() override;
97 unsigned int ReleaseModule() override; 95 unsigned int ReleaseModule() override;
98 bool IsShuttingDown() override; 96 bool IsShuttingDown() override;
99 printing::PrintJobManager* print_job_manager() override; 97 printing::PrintJobManager* print_job_manager() override;
100 printing::PrintPreviewDialogController* print_preview_dialog_controller() 98 printing::PrintPreviewDialogController* print_preview_dialog_controller()
101 override; 99 override;
102 printing::BackgroundPrintingManager* background_printing_manager() override; 100 printing::BackgroundPrintingManager* background_printing_manager() override;
103 const std::string& GetApplicationLocale() override; 101 const std::string& GetApplicationLocale() override;
104 void SetApplicationLocale(const std::string& app_locale) override; 102 void SetApplicationLocale(const std::string& app_locale) override;
105 DownloadStatusUpdater* download_status_updater() override; 103 DownloadStatusUpdater* download_status_updater() override;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 class TestingBrowserProcessInitializer { 209 class TestingBrowserProcessInitializer {
212 public: 210 public:
213 TestingBrowserProcessInitializer(); 211 TestingBrowserProcessInitializer();
214 ~TestingBrowserProcessInitializer(); 212 ~TestingBrowserProcessInitializer();
215 213
216 private: 214 private:
217 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); 215 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer);
218 }; 216 };
219 217
220 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 218 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/remote_debugging_server.cc ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698