| 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 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_SOCKET_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_SOCKET_H_ |
| 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_SOCKET_H_ | 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_SOCKET_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "extensions/browser/api/cast_channel/cast_transport.h" | 22 #include "extensions/browser/api/cast_channel/cast_transport.h" |
| 23 #include "extensions/browser/api/cast_channel/logger_util.h" | 23 #include "extensions/browser/api/cast_channel/logger_util.h" |
| 24 #include "extensions/common/api/cast_channel.h" | 24 #include "extensions/common/api/cast_channel.h" |
| 25 #include "extensions/common/api/cast_channel/logging.pb.h" | 25 #include "extensions/common/api/cast_channel/logging.pb.h" |
| 26 #include "net/base/completion_callback.h" | 26 #include "net/base/completion_callback.h" |
| 27 #include "net/base/io_buffer.h" | 27 #include "net/base/io_buffer.h" |
| 28 #include "net/base/ip_endpoint.h" | 28 #include "net/base/ip_endpoint.h" |
| 29 #include "net/log/net_log_source.h" | 29 #include "net/log/net_log_source.h" |
| 30 | 30 |
| 31 namespace net { | 31 namespace net { |
| 32 class AddressList; | |
| 33 class CertVerifier; | 32 class CertVerifier; |
| 34 class CTPolicyEnforcer; | 33 class CTPolicyEnforcer; |
| 35 class CTVerifier; | 34 class CTVerifier; |
| 36 class NetLog; | 35 class NetLog; |
| 37 class SSLClientSocket; | 36 class SSLClientSocket; |
| 38 class StreamSocket; | 37 class StreamSocket; |
| 39 class TCPClientSocket; | 38 class TCPClientSocket; |
| 40 class TransportSecurityState; | 39 class TransportSecurityState; |
| 41 class X509Certificate; | 40 class X509Certificate; |
| 42 } | 41 } |
| 43 | 42 |
| 44 namespace extensions { | 43 namespace extensions { |
| 45 namespace api { | 44 namespace api { |
| 46 namespace cast_channel { | 45 namespace cast_channel { |
| 47 class CastMessage; | 46 class CastMessage; |
| 48 class Logger; | 47 class Logger; |
| 49 struct LastErrors; | 48 struct LastErrors; |
| 50 class MessageFramer; | |
| 51 | 49 |
| 52 // Cast device capabilities. | 50 // Cast device capabilities. |
| 53 enum CastDeviceCapability { | 51 enum CastDeviceCapability { |
| 54 NONE = 0, | 52 NONE = 0, |
| 55 VIDEO_OUT = 1 << 0, | 53 VIDEO_OUT = 1 << 0, |
| 56 VIDEO_IN = 1 << 1, | 54 VIDEO_IN = 1 << 1, |
| 57 AUDIO_OUT = 1 << 2, | 55 AUDIO_OUT = 1 << 2, |
| 58 AUDIO_IN = 1 << 3, | 56 AUDIO_IN = 1 << 3, |
| 59 DEV_MODE = 1 << 4 | 57 DEV_MODE = 1 << 4 |
| 60 }; | 58 }; |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 // information. | 379 // information. |
| 382 AuthTransportDelegate* auth_delegate_; | 380 AuthTransportDelegate* auth_delegate_; |
| 383 | 381 |
| 384 DISALLOW_COPY_AND_ASSIGN(CastSocketImpl); | 382 DISALLOW_COPY_AND_ASSIGN(CastSocketImpl); |
| 385 }; | 383 }; |
| 386 } // namespace cast_channel | 384 } // namespace cast_channel |
| 387 } // namespace api | 385 } // namespace api |
| 388 } // namespace extensions | 386 } // namespace extensions |
| 389 | 387 |
| 390 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_SOCKET_H_ | 388 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_SOCKET_H_ |
| OLD | NEW |