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

Side by Side Diff: media/video/capture/video_capture_proxy.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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/tools/tile_render_bench/tile_render_bench.cc ('k') | net/base/cookie_monster.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) 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 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_
6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_ 6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/task.h"
11 #include "media/video/capture/video_capture.h" 10 #include "media/video/capture/video_capture.h"
12 11
13 namespace base { 12 namespace base {
14 class MessageLoopProxy; 13 class MessageLoopProxy;
15 } 14 }
16 15
17 namespace media { 16 namespace media {
18 17
19 // This is a helper class to proxy a VideoCapture::EventHandler. In the renderer 18 // This is a helper class to proxy a VideoCapture::EventHandler. In the renderer
20 // process, the VideoCaptureImpl calls its handler on a "Video Capture" thread, 19 // process, the VideoCaptureImpl calls its handler on a "Video Capture" thread,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Only accessed from main thread. 88 // Only accessed from main thread.
90 VideoCapture::EventHandler* proxied_; 89 VideoCapture::EventHandler* proxied_;
91 VideoCaptureState state_; 90 VideoCaptureState state_;
92 91
93 scoped_refptr<base::MessageLoopProxy> main_message_loop_; 92 scoped_refptr<base::MessageLoopProxy> main_message_loop_;
94 }; 93 };
95 94
96 } // namespace media 95 } // namespace media
97 96
98 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_ 97 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_
OLDNEW
« no previous file with comments | « media/tools/tile_render_bench/tile_render_bench.cc ('k') | net/base/cookie_monster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698