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

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

Issue 15305014: Remove reference to profile in devtools remote debugging initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; 69 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE;
70 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE; 70 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE;
71 71
72 virtual extensions::EventRouterForwarder* 72 virtual extensions::EventRouterForwarder*
73 extension_event_router_forwarder() OVERRIDE; 73 extension_event_router_forwarder() OVERRIDE;
74 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; 74 virtual NotificationUIManager* notification_ui_manager() OVERRIDE;
75 virtual message_center::MessageCenter* message_center() OVERRIDE; 75 virtual message_center::MessageCenter* message_center() OVERRIDE;
76 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE; 76 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE;
77 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; 77 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE;
78 virtual void CreateDevToolsHttpProtocolHandler( 78 virtual void CreateDevToolsHttpProtocolHandler(
79 Profile* profile,
80 chrome::HostDesktopType host_desktop_type, 79 chrome::HostDesktopType host_desktop_type,
81 const std::string& ip, 80 const std::string& ip,
82 int port, 81 int port,
83 const std::string& frontend_url) OVERRIDE; 82 const std::string& frontend_url) OVERRIDE;
84 virtual unsigned int AddRefModule() OVERRIDE; 83 virtual unsigned int AddRefModule() OVERRIDE;
85 virtual unsigned int ReleaseModule() OVERRIDE; 84 virtual unsigned int ReleaseModule() OVERRIDE;
86 virtual bool IsShuttingDown() OVERRIDE; 85 virtual bool IsShuttingDown() OVERRIDE;
87 virtual printing::PrintJobManager* print_job_manager() OVERRIDE; 86 virtual printing::PrintJobManager* print_job_manager() OVERRIDE;
88 virtual printing::PrintPreviewDialogController* 87 virtual printing::PrintPreviewDialogController*
89 print_preview_dialog_controller() OVERRIDE; 88 print_preview_dialog_controller() OVERRIDE;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 PrefService* local_state_; 147 PrefService* local_state_;
149 IOThread* io_thread_; 148 IOThread* io_thread_;
150 net::URLRequestContextGetter* system_request_context_; 149 net::URLRequestContextGetter* system_request_context_;
151 150
152 scoped_ptr<BrowserProcessPlatformPart> platform_part_; 151 scoped_ptr<BrowserProcessPlatformPart> platform_part_;
153 152
154 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); 153 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess);
155 }; 154 };
156 155
157 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 156 #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