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

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

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « media/filters/vpx_video_decoder.cc ('k') | net/base/directory_lister.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 #include "media/video/capture/video_capture_proxy.h" 5 #include "media/video/capture/video_capture_proxy.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 10
11 namespace { 11 namespace {
12 12
13 // Called on VC thread: extracts the state out of the VideoCapture, and 13 // Called on VC thread: extracts the state out of the VideoCapture, and
14 // serialize it into a VideoCaptureState. 14 // serialize it into a VideoCaptureState.
15 media::VideoCaptureHandlerProxy::VideoCaptureState GetState( 15 media::VideoCaptureHandlerProxy::VideoCaptureState GetState(
16 media::VideoCapture* capture) { 16 media::VideoCapture* capture) {
17 media::VideoCaptureHandlerProxy::VideoCaptureState state; 17 media::VideoCaptureHandlerProxy::VideoCaptureState state;
18 state.started = capture->CaptureStarted(); 18 state.started = capture->CaptureStarted();
19 state.width = capture->CaptureWidth(); 19 state.width = capture->CaptureWidth();
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 void VideoCaptureHandlerProxy::OnDeviceInfoReceivedOnMainThread( 146 void VideoCaptureHandlerProxy::OnDeviceInfoReceivedOnMainThread(
147 VideoCapture* capture, 147 VideoCapture* capture,
148 const VideoCaptureState& state, 148 const VideoCaptureState& state,
149 const VideoCaptureParams& device_info) { 149 const VideoCaptureParams& device_info) {
150 state_ = state; 150 state_ = state;
151 proxied_->OnDeviceInfoReceived(capture, device_info); 151 proxied_->OnDeviceInfoReceived(capture, device_info);
152 } 152 }
153 153
154 } // namespace media 154 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/vpx_video_decoder.cc ('k') | net/base/directory_lister.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698