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 "base/location.h" | 5 #include "base/location.h" |
| 6 #include "base/macros.h" |
6 #include "base/memory/weak_ptr.h" | 7 #include "base/memory/weak_ptr.h" |
7 #include "base/rand_util.h" | 8 #include "base/rand_util.h" |
8 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
9 #include "base/thread_task_runner_handle.h" | 10 #include "base/thread_task_runner_handle.h" |
10 #include "chrome/browser/devtools/device/android_device_manager.h" | 11 #include "chrome/browser/devtools/device/android_device_manager.h" |
11 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
12 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
13 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
14 #include "net/server/web_socket_encoder.h" | 15 #include "net/server/web_socket_encoder.h" |
15 #include "net/socket/stream_socket.h" | 16 #include "net/socket/stream_socket.h" |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 } | 222 } |
222 } | 223 } |
223 | 224 |
224 AndroidDeviceManager::AndroidWebSocket* | 225 AndroidDeviceManager::AndroidWebSocket* |
225 AndroidDeviceManager::Device::CreateWebSocket( | 226 AndroidDeviceManager::Device::CreateWebSocket( |
226 const std::string& socket_name, | 227 const std::string& socket_name, |
227 const std::string& path, | 228 const std::string& path, |
228 AndroidWebSocket::Delegate* delegate) { | 229 AndroidWebSocket::Delegate* delegate) { |
229 return new AndroidWebSocket(this, socket_name, path, delegate); | 230 return new AndroidWebSocket(this, socket_name, path, delegate); |
230 } | 231 } |
OLD | NEW |