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

Unified Diff: content/browser/media/capture/image_capture_impl.cc

Issue 2027023002: ImageCapture: move mojom from WebKit/public to media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restricted DEPS, added .mojom comments Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/media/capture/image_capture_impl.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/capture/image_capture_impl.cc
diff --git a/content/browser/media/capture/image_capture_impl.cc b/content/browser/media/capture/image_capture_impl.cc
index 03c0833a5cffec12e70ffa81555465951b3be3c3..6603db4c1f3e56afc99d1be73005d8fe4e623ee5 100644
--- a/content/browser/media/capture/image_capture_impl.cc
+++ b/content/browser/media/capture/image_capture_impl.cc
@@ -26,9 +26,9 @@ void RunMojoCallback(const mojo::Callback<R(Args...)>& callback, Args... args) {
void RunFailedGetCapabilitiesCallback(
const ImageCaptureImpl::GetCapabilitiesCallback& cb) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- blink::mojom::PhotoCapabilitiesPtr empty_capabilities =
- blink::mojom::PhotoCapabilities::New();
- empty_capabilities->zoom = blink::mojom::Range::New();
+ media::mojom::PhotoCapabilitiesPtr empty_capabilities =
+ media::mojom::PhotoCapabilities::New();
+ empty_capabilities->zoom = media::mojom::Range::New();
cb.Run(std::move(empty_capabilities));
}
@@ -66,7 +66,7 @@ void TakePhotoOnIOThread(
// static
void ImageCaptureImpl::Create(
- mojo::InterfaceRequest<blink::mojom::ImageCapture> request) {
+ mojo::InterfaceRequest<media::mojom::ImageCapture> request) {
// |binding_| will take ownership of ImageCaptureImpl.
new ImageCaptureImpl(std::move(request));
}
@@ -100,7 +100,7 @@ void ImageCaptureImpl::TakePhoto(const mojo::String& source_id,
}
ImageCaptureImpl::ImageCaptureImpl(
- mojo::InterfaceRequest<blink::mojom::ImageCapture> request)
+ mojo::InterfaceRequest<media::mojom::ImageCapture> request)
: binding_(this, std::move(request)) {}
} // namespace content
« no previous file with comments | « content/browser/media/capture/image_capture_impl.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698