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

Side by Side Diff: media/video/capture/win/video_capture_device_win.h

Issue 10701135: Remove #pragma once from media (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « media/video/capture/win/sink_input_pin_win.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Windows specific implementation of VideoCaptureDevice. 5 // Windows specific implementation of VideoCaptureDevice.
6 // DirectShow is used for capturing. DirectShow provide its own threads 6 // DirectShow is used for capturing. DirectShow provide its own threads
7 // for capturing. 7 // for capturing.
8 8
9 #ifndef MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_ 9 #ifndef MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_
10 #define MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_ 10 #define MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_
11 #pragma once
12 11
13 // Avoid including strsafe.h via dshow as it will cause build warnings. 12 // Avoid including strsafe.h via dshow as it will cause build warnings.
14 #define NO_DSHOW_STRSAFE 13 #define NO_DSHOW_STRSAFE
15 #include <dshow.h> 14 #include <dshow.h>
16 15
17 #include <map> 16 #include <map>
18 #include <string> 17 #include <string>
19 18
20 #include "base/threading/non_thread_safe.h" 19 #include "base/threading/non_thread_safe.h"
21 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 83
85 // Map of all capabilities this device support. 84 // Map of all capabilities this device support.
86 CapabilityMap capabilities_; 85 CapabilityMap capabilities_;
87 86
88 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceWin); 87 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceWin);
89 }; 88 };
90 89
91 } // namespace media 90 } // namespace media
92 91
93 #endif // MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_ 92 #endif // MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_
OLDNEW
« no previous file with comments | « media/video/capture/win/sink_input_pin_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698