OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/renderer/media/video_destination_handler.h" | 12 #include "content/renderer/media/webrtc/video_destination_handler.h" |
13 #include "ppapi/c/pp_time.h" | 13 #include "ppapi/c/pp_time.h" |
14 #include "ppapi/host/resource_host.h" | 14 #include "ppapi/host/resource_host.h" |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 class RendererPpapiHost; | 18 class RendererPpapiHost; |
19 | 19 |
20 class CONTENT_EXPORT PepperVideoDestinationHost | 20 class CONTENT_EXPORT PepperVideoDestinationHost |
21 : public ppapi::host::ResourceHost { | 21 : public ppapi::host::ResourceHost { |
22 public: | 22 public: |
(...skipping 20 matching lines...) Expand all Loading... |
43 scoped_ptr<FrameWriterInterface> frame_writer_; | 43 scoped_ptr<FrameWriterInterface> frame_writer_; |
44 | 44 |
45 base::WeakPtrFactory<PepperVideoDestinationHost> weak_factory_; | 45 base::WeakPtrFactory<PepperVideoDestinationHost> weak_factory_; |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(PepperVideoDestinationHost); | 47 DISALLOW_COPY_AND_ASSIGN(PepperVideoDestinationHost); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace content | 50 } // namespace content |
51 | 51 |
52 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ | 52 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ |
OLD | NEW |