| 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 "content/browser/devtools/protocol/tethering_handler.h" | 5 #include "content/browser/devtools/protocol/tethering_handler.h" |
| 6 | 6 |
| 7 #include "base/stl_util.h" |
| 7 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
| 8 #include "net/base/io_buffer.h" | 9 #include "net/base/io_buffer.h" |
| 9 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
| 10 #include "net/socket/server_socket.h" | 11 #include "net/socket/server_socket.h" |
| 11 #include "net/socket/stream_socket.h" | 12 #include "net/socket/stream_socket.h" |
| 12 #include "net/socket/tcp_server_socket.h" | 13 #include "net/socket/tcp_server_socket.h" |
| 13 | 14 |
| 14 namespace content { | 15 namespace content { |
| 15 namespace devtools { | 16 namespace devtools { |
| 16 namespace tethering { | 17 namespace tethering { |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 } | 397 } |
| 397 | 398 |
| 398 void TetheringHandler::SendInternalError(DevToolsCommandId command_id, | 399 void TetheringHandler::SendInternalError(DevToolsCommandId command_id, |
| 399 const std::string& message) { | 400 const std::string& message) { |
| 400 client_->SendError(command_id, Response::InternalError(message)); | 401 client_->SendError(command_id, Response::InternalError(message)); |
| 401 } | 402 } |
| 402 | 403 |
| 403 } // namespace tethering | 404 } // namespace tethering |
| 404 } // namespace devtools | 405 } // namespace devtools |
| 405 } // namespace content | 406 } // namespace content |
| OLD | NEW |