| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |