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

Side by Side Diff: media/cast/sender/video_frame_factory.h

Issue 1905763002: Convert //media/cast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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
« no previous file with comments | « media/cast/sender/video_encoder_unittest.cc ('k') | media/cast/sender/video_sender.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MEDIA_CAST_SENDER_VIDEO_FRAME_FACTORY_H_ 5 #ifndef MEDIA_CAST_SENDER_VIDEO_FRAME_FACTORY_H_
6 #define MEDIA_CAST_SENDER_VIDEO_FRAME_FACTORY_H_ 6 #define MEDIA_CAST_SENDER_VIDEO_FRAME_FACTORY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include <memory>
9
9 #include "base/time/time.h" 10 #include "base/time/time.h"
10 11
11 namespace gfx { 12 namespace gfx {
12 class Size; 13 class Size;
13 } 14 }
14 15
15 namespace media { 16 namespace media {
16 17
17 class VideoFrame; 18 class VideoFrame;
18 19
(...skipping 23 matching lines...) Expand all
42 // this means that |MaybeCreateFrame| must somehow signal the encoder to 43 // this means that |MaybeCreateFrame| must somehow signal the encoder to
43 // perform whatever initialization is needed to eventually produce frames. 44 // perform whatever initialization is needed to eventually produce frames.
44 virtual scoped_refptr<VideoFrame> MaybeCreateFrame( 45 virtual scoped_refptr<VideoFrame> MaybeCreateFrame(
45 const gfx::Size& frame_size, base::TimeDelta timestamp) = 0; 46 const gfx::Size& frame_size, base::TimeDelta timestamp) = 0;
46 }; 47 };
47 48
48 } // namespace cast 49 } // namespace cast
49 } // namespace media 50 } // namespace media
50 51
51 #endif // MEDIA_CAST_SENDER_VIDEO_FRAME_FACTORY_H_ 52 #endif // MEDIA_CAST_SENDER_VIDEO_FRAME_FACTORY_H_
OLDNEW
« no previous file with comments | « media/cast/sender/video_encoder_unittest.cc ('k') | media/cast/sender/video_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698