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/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
13 #include "extensions/browser/api/cast_channel/logger.h" | 14 #include "extensions/browser/api/cast_channel/logger.h" |
14 #include "extensions/common/api/cast_channel.h" | 15 #include "extensions/common/api/cast_channel.h" |
15 #include "extensions/common/api/cast_channel/logging.pb.h" | 16 #include "extensions/common/api/cast_channel/logging.pb.h" |
16 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
17 | 18 |
18 namespace net { | 19 namespace net { |
19 class DrainableIOBuffer; | 20 class DrainableIOBuffer; |
20 class IPEndPoint; | 21 class IPEndPoint; |
21 class IOBuffer; | 22 class IOBuffer; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // Accumulates details of events and errors, for debugging purposes. | 211 // Accumulates details of events and errors, for debugging purposes. |
211 scoped_refptr<Logger> logger_; | 212 scoped_refptr<Logger> logger_; |
212 | 213 |
213 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl); | 214 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl); |
214 }; | 215 }; |
215 } // namespace cast_channel | 216 } // namespace cast_channel |
216 } // namespace core_api | 217 } // namespace core_api |
217 } // namespace extensions | 218 } // namespace extensions |
218 | 219 |
219 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ | 220 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ |
OLD | NEW |