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

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

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, 7 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 | « content/renderer/media/video_capture_impl.h ('k') | media/base/callback.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 "content/renderer/media/video_capture_impl.h" 5 #include "content/renderer/media/video_capture_impl.h"
6 6
7 #include "content/common/child_process.h" 7 #include "content/common/child_process.h"
8 #include "content/common/video_capture_messages.h" 8 #include "content/common/video_capture_messages.h"
9 9
10 VideoCaptureImpl::DIBBuffer::DIBBuffer( 10 VideoCaptureImpl::DIBBuffer::DIBBuffer(
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 for (ClientInfo::iterator it = clients_.begin(); it != clients_.end(); it++) { 374 for (ClientInfo::iterator it = clients_.begin(); it != clients_.end(); it++) {
375 it->first->OnStarted(this); 375 it->first->OnStarted(this);
376 } 376 }
377 } 377 }
378 378
379 void VideoCaptureImpl::AddDelegateOnIOThread() { 379 void VideoCaptureImpl::AddDelegateOnIOThread() {
380 message_filter_->AddDelegate(this); 380 message_filter_->AddDelegate(this);
381 } 381 }
382 382
383 void VideoCaptureImpl::RemoveDelegateOnIOThread(Task* task) { 383 void VideoCaptureImpl::RemoveDelegateOnIOThread(Task* task) {
384 base::ScopedTaskRunner task_runner(task);
384 message_filter_->RemoveDelegate(this); 385 message_filter_->RemoveDelegate(this);
385 media::AutoTaskRunner auto_runner(task);
386 } 386 }
OLDNEW
« no previous file with comments | « content/renderer/media/video_capture_impl.h ('k') | media/base/callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698