| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 REMOTING_PROTOCOL_WEBRTC_VIDEO_RENDERER_ADAPTER_H_ | 5 #ifndef REMOTING_PROTOCOL_WEBRTC_VIDEO_RENDERER_ADAPTER_H_ |
| 6 #define REMOTING_PROTOCOL_WEBRTC_VIDEO_RENDERER_ADAPTER_H_ | 6 #define REMOTING_PROTOCOL_WEBRTC_VIDEO_RENDERER_ADAPTER_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 10 #include "third_party/webrtc/api/mediastreaminterface.h" | 11 #include "third_party/webrtc/api/mediastreaminterface.h" |
| 11 #include "third_party/webrtc/media/base/videosinkinterface.h" | 12 #include "third_party/webrtc/media/base/videosinkinterface.h" |
| 12 | 13 |
| 13 namespace base { | 14 namespace base { |
| 14 class SingleThreadTaskRunner; | 15 class SingleThreadTaskRunner; |
| 15 } // namespace base | 16 } // namespace base |
| 16 | 17 |
| 17 namespace webrtc { | 18 namespace webrtc { |
| 18 class DesktopFrame; | 19 class DesktopFrame; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 51 |
| 51 base::WeakPtrFactory<WebrtcVideoRendererAdapter> weak_factory_; | 52 base::WeakPtrFactory<WebrtcVideoRendererAdapter> weak_factory_; |
| 52 | 53 |
| 53 DISALLOW_COPY_AND_ASSIGN(WebrtcVideoRendererAdapter); | 54 DISALLOW_COPY_AND_ASSIGN(WebrtcVideoRendererAdapter); |
| 54 }; | 55 }; |
| 55 | 56 |
| 56 } // namespace remoting | 57 } // namespace remoting |
| 57 } // namespace protocol | 58 } // namespace protocol |
| 58 | 59 |
| 59 #endif // REMOTING_PROTOCOL_WEBRTC_VIDEO_RENDERER_ADAPTER_H_ | 60 #endif // REMOTING_PROTOCOL_WEBRTC_VIDEO_RENDERER_ADAPTER_H_ |
| OLD | NEW |