OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_RENDERER_EXTENSIONS_CAST_STREAMING_NATIVE_HANDLER_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_CAST_STREAMING_NATIVE_HANDLER_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_CAST_STREAMING_NATIVE_HANDLER_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_CAST_STREAMING_NATIVE_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "extensions/renderer/object_backed_native_handler.h" | 13 #include "extensions/renderer/object_backed_native_handler.h" |
13 #include "v8/include/v8.h" | 14 #include "v8/include/v8.h" |
14 | 15 |
15 class CastRtpStream; | 16 class CastRtpStream; |
16 class CastUdpTransport; | 17 class CastUdpTransport; |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class BinaryValue; | 20 class BinaryValue; |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 RtpStreamCallbackMap get_stats_callbacks_; | 145 RtpStreamCallbackMap get_stats_callbacks_; |
145 | 146 |
146 base::WeakPtrFactory<CastStreamingNativeHandler> weak_factory_; | 147 base::WeakPtrFactory<CastStreamingNativeHandler> weak_factory_; |
147 | 148 |
148 DISALLOW_COPY_AND_ASSIGN(CastStreamingNativeHandler); | 149 DISALLOW_COPY_AND_ASSIGN(CastStreamingNativeHandler); |
149 }; | 150 }; |
150 | 151 |
151 } // namespace extensions | 152 } // namespace extensions |
152 | 153 |
153 #endif // CHROME_RENDERER_EXTENSIONS_CAST_STREAMING_NATIVE_HANDLER_H_ | 154 #endif // CHROME_RENDERER_EXTENSIONS_CAST_STREAMING_NATIVE_HANDLER_H_ |
OLD | NEW |