Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: content/renderer/media/pepper_to_video_track_adapter.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 class PeerConnectionDependencyFactory;
21 class MediaStreamRegistryInterface; 20 class MediaStreamRegistryInterface;
22 class PPB_ImageData_Impl; 21 class PPB_ImageData_Impl;
23 22
24 // Interface used by a Pepper plugin to output frames to a video track. 23 // Interface used by a Pepper plugin to output frames to a video track.
25 class CONTENT_EXPORT FrameWriterInterface { 24 class CONTENT_EXPORT FrameWriterInterface {
26 public: 25 public:
27 // The ownership of the |image_data| doesn't transfer. So the implementation 26 // The ownership of the |image_data| doesn't transfer. So the implementation
28 // of this interface should make a copy of the |image_data| before return. 27 // of this interface should make a copy of the |image_data| before return.
29 virtual void PutFrame(PPB_ImageData_Impl* image_data, 28 virtual void PutFrame(PPB_ImageData_Impl* image_data,
30 int64_t time_stamp_ns) = 0; 29 int64_t time_stamp_ns) = 0;
(...skipping 15 matching lines...) Expand all
46 const std::string& url, 45 const std::string& url,
47 FrameWriterInterface** frame_writer); 46 FrameWriterInterface** frame_writer);
48 47
49 private: 48 private:
50 DISALLOW_COPY_AND_ASSIGN(PepperToVideoTrackAdapter); 49 DISALLOW_COPY_AND_ASSIGN(PepperToVideoTrackAdapter);
51 }; 50 };
52 51
53 } // namespace content 52 } // namespace content
54 53
55 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 54 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/peer_connection_tracker.h ('k') | content/renderer/media/renderer_gpu_video_accelerator_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698