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

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

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 SafeBrowsingService* safe_browsing_service() override; 78 SafeBrowsingService* safe_browsing_service() override;
79 safe_browsing::ClientSideDetectionService* safe_browsing_detection_service() 79 safe_browsing::ClientSideDetectionService* safe_browsing_detection_service()
80 override; 80 override;
81 net::URLRequestContextGetter* system_request_context() override; 81 net::URLRequestContextGetter* system_request_context() override;
82 BrowserProcessPlatformPart* platform_part() override; 82 BrowserProcessPlatformPart* platform_part() override;
83 83
84 extensions::EventRouterForwarder* extension_event_router_forwarder() override; 84 extensions::EventRouterForwarder* extension_event_router_forwarder() override;
85 NotificationUIManager* notification_ui_manager() override; 85 NotificationUIManager* notification_ui_manager() override;
86 message_center::MessageCenter* message_center() override; 86 message_center::MessageCenter* message_center() override;
87 IntranetRedirectDetector* intranet_redirect_detector() override; 87 IntranetRedirectDetector* intranet_redirect_detector() override;
88 void CreateDevToolsHttpProtocolHandler( 88 void CreateDevToolsHttpProtocolHandler(ui::HostDesktopType host_desktop_type,
89 chrome::HostDesktopType host_desktop_type, 89 const std::string& ip,
90 const std::string& ip, 90 uint16 port) override;
91 uint16 port) override;
92 unsigned int AddRefModule() override; 91 unsigned int AddRefModule() override;
93 unsigned int ReleaseModule() override; 92 unsigned int ReleaseModule() override;
94 bool IsShuttingDown() override; 93 bool IsShuttingDown() override;
95 printing::PrintJobManager* print_job_manager() override; 94 printing::PrintJobManager* print_job_manager() override;
96 printing::PrintPreviewDialogController* print_preview_dialog_controller() 95 printing::PrintPreviewDialogController* print_preview_dialog_controller()
97 override; 96 override;
98 printing::BackgroundPrintingManager* background_printing_manager() override; 97 printing::BackgroundPrintingManager* background_printing_manager() override;
99 const std::string& GetApplicationLocale() override; 98 const std::string& GetApplicationLocale() override;
100 void SetApplicationLocale(const std::string& app_locale) override; 99 void SetApplicationLocale(const std::string& app_locale) override;
101 DownloadStatusUpdater* download_status_updater() override; 100 DownloadStatusUpdater* download_status_updater() override;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 class TestingBrowserProcessInitializer { 204 class TestingBrowserProcessInitializer {
206 public: 205 public:
207 TestingBrowserProcessInitializer(); 206 TestingBrowserProcessInitializer();
208 ~TestingBrowserProcessInitializer(); 207 ~TestingBrowserProcessInitializer();
209 208
210 private: 209 private:
211 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); 210 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer);
212 }; 211 };
213 212
214 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 213 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698