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

Side by Side Diff: content/renderer/media/video_capture_impl.h

Issue 7062013: Move media library AutoTaskRunner to base and rename ScopedTaskRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add innocuous but critical BASE_API modifier to ScopedTaskRunner declaration. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « base/task_unittest.cc ('k') | content/renderer/media/video_capture_impl.cc » ('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 // VideoCaptureImpl represents a capture device in renderer process. It provides 5 // VideoCaptureImpl represents a capture device in renderer process. It provides
6 // interfaces for clients to Start/Stop capture. It also communicates to clients 6 // interfaces for clients to Start/Stop capture. It also communicates to clients
7 // when buffer is ready, state of capture device is changed. 7 // when buffer is ready, state of capture device is changed.
8 8
9 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 9 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
10 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 10 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
11 11
12 #include <list> 12 #include <list>
13 #include <map> 13 #include <map>
14 14
15 #include "content/renderer/video_capture_message_filter.h" 15 #include "content/renderer/video_capture_message_filter.h"
16 #include "media/base/callback.h"
17 #include "media/video/capture/video_capture.h" 16 #include "media/video/capture/video_capture.h"
18 #include "ui/gfx/surface/transport_dib.h" 17 #include "ui/gfx/surface/transport_dib.h"
19 18
20 namespace base { 19 namespace base {
21 class MessageLoopProxy; 20 class MessageLoopProxy;
22 } 21 }
23 22
24 class VideoCaptureImpl 23 class VideoCaptureImpl
25 : public media::VideoCapture, 24 : public media::VideoCapture,
26 public VideoCaptureMessageFilter::Delegate { 25 public VideoCaptureMessageFilter::Delegate {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 int new_width_; 101 int new_width_;
103 int new_height_; 102 int new_height_;
104 State state_; 103 State state_;
105 104
106 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl); 105 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl);
107 }; 106 };
108 107
109 DISABLE_RUNNABLE_METHOD_REFCOUNT(VideoCaptureImpl); 108 DISABLE_RUNNABLE_METHOD_REFCOUNT(VideoCaptureImpl);
110 109
111 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 110 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
OLDNEW
« no previous file with comments | « base/task_unittest.cc ('k') | content/renderer/media/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698