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

Side by Side Diff: trunk/src/media/video/capture/screen/screen_capture_device.cc

Issue 14985007: Revert 198844 "Move sequenced_task_runner to base/task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/screen/screen_capture_device.h" 5 #include "media/video/capture/screen/screen_capture_device.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/logging.h" 9 #include "base/logging.h"
10 #include "base/sequenced_task_runner.h"
10 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
11 #include "base/task/sequenced_task_runner.h"
12 #include "media/video/capture/screen/mouse_cursor_shape.h" 12 #include "media/video/capture/screen/mouse_cursor_shape.h"
13 #include "media/video/capture/screen/screen_capture_data.h" 13 #include "media/video/capture/screen/screen_capture_data.h"
14 #include "third_party/skia/include/core/SkCanvas.h" 14 #include "third_party/skia/include/core/SkCanvas.h"
15 #include "third_party/skia/include/core/SkDevice.h" 15 #include "third_party/skia/include/core/SkDevice.h"
16 16
17 namespace media { 17 namespace media {
18 18
19 namespace { 19 namespace {
20 const int kBytesPerPixel = 4; 20 const int kBytesPerPixel = 4;
21 } // namespace 21 } // namespace
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 382
383 void ScreenCaptureDevice::DeAllocate() { 383 void ScreenCaptureDevice::DeAllocate() {
384 core_->DeAllocate(); 384 core_->DeAllocate();
385 } 385 }
386 386
387 const VideoCaptureDevice::Name& ScreenCaptureDevice::device_name() { 387 const VideoCaptureDevice::Name& ScreenCaptureDevice::device_name() {
388 return name_; 388 return name_;
389 } 389 }
390 390
391 } // namespace media 391 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698