| Index: device/capture/content/screen_capture_device_core.cc
|
| diff --git a/media/capture/content/screen_capture_device_core.cc b/device/capture/content/screen_capture_device_core.cc
|
| similarity index 93%
|
| rename from media/capture/content/screen_capture_device_core.cc
|
| rename to device/capture/content/screen_capture_device_core.cc
|
| index 0f06dfa51c5d59f4d73c3539873558ceaeb81452..e08bb5576c146b1f963e118ec5ba1e03a4090716 100644
|
| --- a/media/capture/content/screen_capture_device_core.cc
|
| +++ b/device/capture/content/screen_capture_device_core.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "media/capture/content/screen_capture_device_core.h"
|
| +#include "device/capture/content/screen_capture_device_core.h"
|
|
|
| #include <memory>
|
| #include <utility>
|
| @@ -15,7 +15,7 @@
|
| #include "base/strings/stringprintf.h"
|
| #include "base/threading/thread_checker.h"
|
|
|
| -namespace media {
|
| +namespace device {
|
|
|
| namespace {
|
|
|
| @@ -46,8 +46,8 @@ void ScreenCaptureDeviceCore::AllocateAndStart(
|
| return;
|
| }
|
|
|
| - if (params.requested_format.pixel_format != PIXEL_FORMAT_I420 ||
|
| - params.requested_format.pixel_storage != PIXEL_STORAGE_CPU) {
|
| + if (params.requested_format.pixel_format != media::PIXEL_FORMAT_I420 ||
|
| + params.requested_format.pixel_storage != media::PIXEL_STORAGE_CPU) {
|
| client->OnError(
|
| FROM_HERE,
|
| base::StringPrintf(
|
| @@ -141,4 +141,4 @@ void ScreenCaptureDeviceCore::Error(const tracked_objects::Location& from_here,
|
| TransitionStateTo(kError);
|
| }
|
|
|
| -} // namespace media
|
| +} // namespace device
|
|
|