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/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
13 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
14 #include "extensions/browser/api/cast_channel/logger.h" | 15 #include "extensions/browser/api/cast_channel/logger.h" |
15 #include "extensions/common/api/cast_channel.h" | 16 #include "extensions/common/api/cast_channel.h" |
16 #include "extensions/common/api/cast_channel/logging.pb.h" | 17 #include "extensions/common/api/cast_channel/logging.pb.h" |
17 #include "net/base/completion_callback.h" | 18 #include "net/base/completion_callback.h" |
18 | 19 |
19 namespace net { | 20 namespace net { |
20 class DrainableIOBuffer; | 21 class DrainableIOBuffer; |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 // Accumulates details of events and errors, for debugging purposes. | 217 // Accumulates details of events and errors, for debugging purposes. |
217 scoped_refptr<Logger> logger_; | 218 scoped_refptr<Logger> logger_; |
218 | 219 |
219 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl); | 220 DISALLOW_COPY_AND_ASSIGN(CastTransportImpl); |
220 }; | 221 }; |
221 } // namespace cast_channel | 222 } // namespace cast_channel |
222 } // namespace api | 223 } // namespace api |
223 } // namespace extensions | 224 } // namespace extensions |
224 | 225 |
225 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ | 226 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TRANSPORT_H_ |
OLD | NEW |