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

Side by Side Diff: media/video/capture/win/pin_base_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/filter_base_win.h ('k') | media/video/capture/win/sink_input_pin_win.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Implement a simple base class for a DirectShow input pin. It may only be 5 // Implement a simple base class for a DirectShow input pin. It may only be
6 // used in a single threaded apartment. 6 // used in a single threaded apartment.
7 7
8 #ifndef MEDIA_VIDEO_CAPTURE_WIN_PIN_BASE_WIN_H_ 8 #ifndef MEDIA_VIDEO_CAPTURE_WIN_PIN_BASE_WIN_H_
9 #define MEDIA_VIDEO_CAPTURE_WIN_PIN_BASE_WIN_H_ 9 #define MEDIA_VIDEO_CAPTURE_WIN_PIN_BASE_WIN_H_
10 #pragma once
11 10
12 // Avoid including strsafe.h via dshow as it will cause build warnings. 11 // Avoid including strsafe.h via dshow as it will cause build warnings.
13 #define NO_DSHOW_STRSAFE 12 #define NO_DSHOW_STRSAFE
14 #include <dshow.h> 13 #include <dshow.h>
15 14
16 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
17 #include "base/win/scoped_comptr.h" 16 #include "base/win/scoped_comptr.h"
18 17
19 namespace media { 18 namespace media {
20 19
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 AM_MEDIA_TYPE current_media_type_; 98 AM_MEDIA_TYPE current_media_type_;
100 base::win::ScopedComPtr<IPin> connected_pin_; 99 base::win::ScopedComPtr<IPin> connected_pin_;
101 // owner_ is the filter owning this pin. We don't reference count it since 100 // owner_ is the filter owning this pin. We don't reference count it since
102 // that would create a circular reference count. 101 // that would create a circular reference count.
103 IBaseFilter* owner_; 102 IBaseFilter* owner_;
104 }; 103 };
105 104
106 } // namespace media 105 } // namespace media
107 106
108 #endif // MEDIA_VIDEO_CAPTURE_WIN_PIN_BASE_WIN_H_ 107 #endif // MEDIA_VIDEO_CAPTURE_WIN_PIN_BASE_WIN_H_
OLDNEW
« no previous file with comments | « media/video/capture/win/filter_base_win.h ('k') | media/video/capture/win/sink_input_pin_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698