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

Side by Side Diff: chrome/browser/devtools/remote_debugging_server.cc

Issue 933293002: Remove include for DevToolsUI class which is no longer used in this file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/devtools/remote_debugging_server.h" 5 #include "chrome/browser/devtools/remote_debugging_server.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "chrome/browser/devtools/browser_list_tabcontents_provider.h" 10 #include "chrome/browser/devtools/browser_list_tabcontents_provider.h"
11 #include "chrome/browser/ui/webui/devtools_ui.h"
12 #include "chrome/common/chrome_paths.h" 11 #include "chrome/common/chrome_paths.h"
13 #include "content/public/browser/devtools_http_handler.h" 12 #include "content/public/browser/devtools_http_handler.h"
14 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
15 #include "net/socket/tcp_server_socket.h" 14 #include "net/socket/tcp_server_socket.h"
16 15
17 namespace { 16 namespace {
18 17
19 base::LazyInstance<bool>::Leaky g_tethering_enabled = LAZY_INSTANCE_INITIALIZER; 18 base::LazyInstance<bool>::Leaky g_tethering_enabled = LAZY_INSTANCE_INITIALIZER;
20 19
21 const uint16 kMinTetheringPort = 9333; 20 const uint16 kMinTetheringPort = 9333;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 87
89 devtools_http_handler_.reset(content::DevToolsHttpHandler::Start( 88 devtools_http_handler_.reset(content::DevToolsHttpHandler::Start(
90 make_scoped_ptr(new TCPServerSocketFactory(ip, port)), 89 make_scoped_ptr(new TCPServerSocketFactory(ip, port)),
91 std::string(), 90 std::string(),
92 new BrowserListTabContentsProvider(host_desktop_type), 91 new BrowserListTabContentsProvider(host_desktop_type),
93 output_dir)); 92 output_dir));
94 } 93 }
95 94
96 RemoteDebuggingServer::~RemoteDebuggingServer() { 95 RemoteDebuggingServer::~RemoteDebuggingServer() {
97 } 96 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698