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

Unified Diff: chrome/browser/devtools/remote_debugging_server.cc

Issue 12328029: Plumb HostDesktopType through BrowserListTabContentsProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/devtools/remote_debugging_server.h ('k') | chrome/browser/ui/browser_commands.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/remote_debugging_server.cc
diff --git a/chrome/browser/devtools/remote_debugging_server.cc b/chrome/browser/devtools/remote_debugging_server.cc
index 2d05199f6a1515faa4cea745055db125402e0f44..d1b9fcdbf8f9b2c714327a33c99086fa20f4bb52 100644
--- a/chrome/browser/devtools/remote_debugging_server.cc
+++ b/chrome/browser/devtools/remote_debugging_server.cc
@@ -9,17 +9,19 @@
#include "content/public/browser/devtools_http_handler.h"
#include "net/base/tcp_listen_socket.h"
-RemoteDebuggingServer::RemoteDebuggingServer(Profile* profile,
- const std::string& ip,
- int port,
- const std::string& frontend_url) {
+RemoteDebuggingServer::RemoteDebuggingServer(
+ Profile* profile,
+ chrome::HostDesktopType host_desktop_type,
+ const std::string& ip,
+ int port,
+ const std::string& frontend_url) {
// Initialize DevTools data source.
DevToolsUI::RegisterDevToolsDataSource(profile);
devtools_http_handler_ = content::DevToolsHttpHandler::Start(
new net::TCPListenSocketFactory(ip, port),
frontend_url,
- new BrowserListTabContentsProvider(profile));
+ new BrowserListTabContentsProvider(profile, host_desktop_type));
}
RemoteDebuggingServer::~RemoteDebuggingServer() {
« no previous file with comments | « chrome/browser/devtools/remote_debugging_server.h ('k') | chrome/browser/ui/browser_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698