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

Side by Side Diff: chromecast/browser/devtools/cast_dev_tools_delegate.cc

Issue 680943002: [DevTools] Migrate DevToolsHttpHandlerDelegate::CreateSocketForTethering to StreamSocket (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chromecast/browser/devtools/cast_dev_tools_delegate.h" 5 #include "chromecast/browser/devtools/cast_dev_tools_delegate.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/public/browser/devtools_agent_host.h" 10 #include "content/public/browser/devtools_agent_host.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } 110 }
111 111
112 bool CastDevToolsDelegate::BundlesFrontendResources() { 112 bool CastDevToolsDelegate::BundlesFrontendResources() {
113 return false; 113 return false;
114 } 114 }
115 115
116 base::FilePath CastDevToolsDelegate::GetDebugFrontendDir() { 116 base::FilePath CastDevToolsDelegate::GetDebugFrontendDir() {
117 return base::FilePath(); 117 return base::FilePath();
118 } 118 }
119 119
120 scoped_ptr<net::StreamListenSocket> 120 scoped_ptr<net::ServerSocket>
121 CastDevToolsDelegate::CreateSocketForTethering( 121 CastDevToolsDelegate::CreateSocketForTethering(std::string* name) {
122 net::StreamListenSocket::Delegate* delegate, 122 return scoped_ptr<net::ServerSocket>();
123 std::string* name) {
124 return scoped_ptr<net::StreamListenSocket>();
125 } 123 }
126 124
127 // CastDevToolsManagerDelegate ----------------------------------------------- 125 // CastDevToolsManagerDelegate -----------------------------------------------
128 126
129 CastDevToolsManagerDelegate::CastDevToolsManagerDelegate() { 127 CastDevToolsManagerDelegate::CastDevToolsManagerDelegate() {
130 } 128 }
131 129
132 CastDevToolsManagerDelegate::~CastDevToolsManagerDelegate() { 130 CastDevToolsManagerDelegate::~CastDevToolsManagerDelegate() {
133 } 131 }
134 132
(...skipping 19 matching lines...) Expand all
154 content::DevToolsAgentHost::GetOrCreateAll(); 152 content::DevToolsAgentHost::GetOrCreateAll();
155 for (content::DevToolsAgentHost::List::iterator it = agents.begin(); 153 for (content::DevToolsAgentHost::List::iterator it = agents.begin();
156 it != agents.end(); ++it) { 154 it != agents.end(); ++it) {
157 targets.push_back(new Target(*it)); 155 targets.push_back(new Target(*it));
158 } 156 }
159 callback.Run(targets); 157 callback.Run(targets);
160 } 158 }
161 159
162 } // namespace shell 160 } // namespace shell
163 } // namespace chromecast 161 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/devtools/cast_dev_tools_delegate.h ('k') | content/browser/devtools/devtools_http_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698