| 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_TRANSPORT_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ |
| 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ | 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
| 13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
| 14 #include "extensions/browser/api/cast_channel/logger.h" | 14 #include "extensions/browser/api/cast_channel/logger.h" |
| 15 #include "extensions/common/api/cast_channel.h" | 15 #include "extensions/common/api/cast_channel.h" |
| 16 #include "extensions/common/api/cast_channel/logging.pb.h" | 16 #include "extensions/common/api/cast_channel/logging.pb.h" |
| 17 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 class DrainableIOBuffer; | 20 class DrainableIOBuffer; |
| 21 class IPEndPoint; | 21 class IPEndPoint; |
| 22 class IOBuffer; | 22 class IOBuffer; |
| 23 class DrainableIOBuffer; | 23 class DrainableIOBuffer; |
| 24 class GrowableIOBuffer; | 24 class GrowableIOBuffer; |
| 25 class Socket; | 25 class Socket; |
| 26 } // namespace net | 26 } // namespace net |
| 27 | 27 |
| 28 namespace extensions { | 28 namespace extensions { |
| 29 namespace core_api { | 29 namespace api { |
| 30 namespace cast_channel { | 30 namespace cast_channel { |
| 31 class CastMessage; | 31 class CastMessage; |
| 32 struct LastErrors; | 32 struct LastErrors; |
| 33 class Logger; | 33 class Logger; |
| 34 class MessageFramer; | 34 class MessageFramer; |
| 35 | 35 |
| 36 class CastTransport { | 36 class CastTransport { |
| 37 public: | 37 public: |
| 38 virtual ~CastTransport() {} | 38 virtual ~CastTransport() {} |
| 39 | 39 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 | 207 |
| 208 // Authentication level for the connection. | 208 // Authentication level for the connection. |
| 209 ChannelAuthType channel_auth_; | 209 ChannelAuthType channel_auth_; |
| 210 | 210 |
| 211 // Accumulates details of events and errors, for debugging purposes. | 211 // Accumulates details of events and errors, for debugging purposes. |
| 212 scoped_refptr<Logger> logger_; | 212 scoped_refptr<Logger> logger_; |
| 213 | 213 |
| 214 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl); | 214 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl); |
| 215 }; | 215 }; |
| 216 } // namespace cast_channel | 216 } // namespace cast_channel |
| 217 } // namespace core_api | 217 } // namespace api |
| 218 } // namespace extensions | 218 } // namespace extensions |
| 219 | 219 |
| 220 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ | 220 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ |
| OLD | NEW |