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

Side by Side Diff: media/base/null_video_sink.h

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: . 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
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 MEDIA_AUDIO_NULL_VIDEO_SINK_H_ 5 #ifndef MEDIA_AUDIO_NULL_VIDEO_SINK_H_
6 #define MEDIA_AUDIO_NULL_VIDEO_SINK_H_ 6 #define MEDIA_AUDIO_NULL_VIDEO_SINK_H_
7 7
8 #include "base/cancelable_callback.h" 8 #include "base/cancelable_callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "base/time/default_tick_clock.h" 10 #include "base/time/default_tick_clock.h"
12 #include "base/time/tick_clock.h" 11 #include "base/time/tick_clock.h"
13 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
14 #include "media/base/video_renderer_sink.h" 13 #include "media/base/video_renderer_sink.h"
15 14
16 namespace base { 15 namespace base {
17 class SingleThreadTaskRunner; 16 class SingleThreadTaskRunner;
18 } 17 }
19 18
20 namespace media { 19 namespace media {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 87
89 // Value passed to RenderCallback::Render(). 88 // Value passed to RenderCallback::Render().
90 bool background_render_; 89 bool background_render_;
91 90
92 DISALLOW_COPY_AND_ASSIGN(NullVideoSink); 91 DISALLOW_COPY_AND_ASSIGN(NullVideoSink);
93 }; 92 };
94 93
95 } // namespace media 94 } // namespace media
96 95
97 #endif // MEDIA_AUDIO_NULL_VIDEO_SINK_H_ 96 #endif // MEDIA_AUDIO_NULL_VIDEO_SINK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698