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

Unified Diff: device/capture/content/thread_safe_capture_oracle.cc

Issue 2214533002: move //media/capture to //device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/capture/content/thread_safe_capture_oracle.h ('k') | device/capture/content/video_capture_oracle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/capture/content/thread_safe_capture_oracle.cc
diff --git a/media/capture/content/thread_safe_capture_oracle.cc b/device/capture/content/thread_safe_capture_oracle.cc
similarity index 98%
rename from media/capture/content/thread_safe_capture_oracle.cc
rename to device/capture/content/thread_safe_capture_oracle.cc
index 6cd40480456f2b078b52bc6219b9b5a930b00dd7..9c116f186310579c96881345f565997eae6e5956 100644
--- a/media/capture/content/thread_safe_capture_oracle.cc
+++ b/device/capture/content/thread_safe_capture_oracle.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/thread_safe_capture_oracle.h"
+#include "device/capture/content/thread_safe_capture_oracle.h"
#include <stdint.h>
@@ -22,7 +22,7 @@
#include "media/base/video_util.h"
#include "ui/gfx/geometry/rect.h"
-namespace media {
+namespace device {
namespace {
@@ -61,7 +61,7 @@ bool ThreadSafeCaptureOracle::ObserveEventAndDecideCapture(
gfx::Size visible_size;
gfx::Size coded_size;
- std::unique_ptr<media::VideoCaptureDevice::Client::Buffer> output_buffer;
+ std::unique_ptr<VideoCaptureDevice::Client::Buffer> output_buffer;
double attenuated_utilization;
int frame_number;
base::TimeDelta estimated_frame_duration;
@@ -249,4 +249,4 @@ void ThreadSafeCaptureOracle::DidConsumeFrame(
}
}
-} // namespace media
+} // namespace device
« no previous file with comments | « device/capture/content/thread_safe_capture_oracle.h ('k') | device/capture/content/video_capture_oracle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698