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

Side by Side Diff: media/cast/test/linux_output_window.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/test/fake_media_source.cc ('k') | media/cast/test/loopback_transport.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_ 5 #ifndef MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_
6 #define MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_ 6 #define MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 #include <X11/Xutil.h> 9 #include <X11/Xutil.h>
10 #include <X11/extensions/XShm.h>
10 #include <sys/ipc.h> 11 #include <sys/ipc.h>
11 #include <sys/shm.h> 12 #include <sys/shm.h>
12 #include <X11/extensions/XShm.h>
13 13
14 #include <memory>
14 #include <string> 15 #include <string>
15 16
16 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
17 #include "base/memory/scoped_ptr.h"
18 18
19 namespace media { 19 namespace media {
20 class VideoFrame; 20 class VideoFrame;
21 } 21 }
22 22
23 namespace media { 23 namespace media {
24 namespace cast { 24 namespace cast {
25 namespace test { 25 namespace test {
26 26
27 class LinuxOutputWindow { 27 class LinuxOutputWindow {
(...skipping 18 matching lines...) Expand all
46 XShmSegmentInfo shminfo_; 46 XShmSegmentInfo shminfo_;
47 GC gc_; 47 GC gc_;
48 XImage* image_; 48 XImage* image_;
49 }; 49 };
50 50
51 } // namespace test 51 } // namespace test
52 } // namespace cast 52 } // namespace cast
53 } // namespace media 53 } // namespace media
54 54
55 #endif // MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_ 55 #endif // MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_
OLDNEW
« no previous file with comments | « media/cast/test/fake_media_source.cc ('k') | media/cast/test/loopback_transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698