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

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

Issue 2010793003: Clean up media header include guards (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update references to the param traits guard Created 4 years, 6 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/capture/video/win/pin_base_win.h ('k') | media/capture/video/win/sink_filter_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 // Observer class of Sinkfilter. The implementor of this class receive video 5 // Observer class of Sinkfilter. The implementor of this class receive video
6 // frames from the SinkFilter DirectShow filter. 6 // frames from the SinkFilter DirectShow filter.
7 7
8 #ifndef MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_OBSERVER_WIN_H_ 8 #ifndef MEDIA_CAPTURE_VIDEO_WIN_SINK_FILTER_OBSERVER_WIN_H_
9 #define MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_OBSERVER_WIN_H_ 9 #define MEDIA_CAPTURE_VIDEO_WIN_SINK_FILTER_OBSERVER_WIN_H_
10 10
11 #include <stdint.h> 11 #include <stdint.h>
12 12
13 namespace media { 13 namespace media {
14 14
15 class SinkFilterObserver { 15 class SinkFilterObserver {
16 public: 16 public:
17 // SinkFilter will call this function with all frames delivered to it. 17 // SinkFilter will call this function with all frames delivered to it.
18 // buffer in only valid during this function call. 18 // buffer in only valid during this function call.
19 virtual void FrameReceived(const uint8_t* buffer, 19 virtual void FrameReceived(const uint8_t* buffer,
20 int length, 20 int length,
21 base::TimeDelta timestamp) = 0; 21 base::TimeDelta timestamp) = 0;
22 22
23 protected: 23 protected:
24 virtual ~SinkFilterObserver(); 24 virtual ~SinkFilterObserver();
25 }; 25 };
26 26
27 } // namespace media 27 } // namespace media
28 28
29 #endif // MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_OBSERVER_WIN_H_ 29 #endif // MEDIA_CAPTURE_VIDEO_WIN_SINK_FILTER_OBSERVER_WIN_H_
OLDNEW
« no previous file with comments | « media/capture/video/win/pin_base_win.h ('k') | media/capture/video/win/sink_filter_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698