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

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

Issue 1415793003: fix build when ffmpeg, libvpx and libwebm are disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 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 CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 base::TimeTicks slice_origin_timestamp_; 80 base::TimeTicks slice_origin_timestamp_;
81 81
82 bool recording_; 82 bool recording_;
83 blink::WebMediaStream media_stream_; // The MediaStream being recorded. 83 blink::WebMediaStream media_stream_; // The MediaStream being recorded.
84 84
85 // |client_| is a weak pointer, and is valid for the lifetime of this object. 85 // |client_| is a weak pointer, and is valid for the lifetime of this object.
86 blink::WebMediaRecorderHandlerClient* client_; 86 blink::WebMediaRecorderHandlerClient* client_;
87 87
88 ScopedVector<VideoTrackRecorder> video_recorders_; 88 ScopedVector<VideoTrackRecorder> video_recorders_;
89 89
90 #if !defined(MEDIA_DISABLE_LIBWEBM)
90 // Worker class doing the actual Webm Muxing work. 91 // Worker class doing the actual Webm Muxing work.
91 scoped_ptr<media::WebmMuxer> webm_muxer_; 92 scoped_ptr<media::WebmMuxer> webm_muxer_;
93 #endif
92 94
93 base::WeakPtrFactory<MediaRecorderHandler> weak_factory_; 95 base::WeakPtrFactory<MediaRecorderHandler> weak_factory_;
94 96
95 DISALLOW_COPY_AND_ASSIGN(MediaRecorderHandler); 97 DISALLOW_COPY_AND_ASSIGN(MediaRecorderHandler);
96 }; 98 };
97 99
98 } // namespace content 100 } // namespace content
99 #endif // CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_ 101 #endif // CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/audio_decoder.cc ('k') | content/renderer/media/media_recorder_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698