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

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

Issue 2034003002: Revert of ImageCapture: move mojom from WebKit/public to media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 6603db4c1f3e56afc99d1be73005d8fe4e623ee5..03c0833a5cffec12e70ffa81555465951b3be3c3 100644
--- a/content/browser/media/capture/image_capture_impl.cc
+++ b/content/browser/media/capture/image_capture_impl.cc
@@ -26,9 +26,9 @@
void RunFailedGetCapabilitiesCallback(
const ImageCaptureImpl::GetCapabilitiesCallback& cb) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- media::mojom::PhotoCapabilitiesPtr empty_capabilities =
- media::mojom::PhotoCapabilities::New();
- empty_capabilities->zoom = media::mojom::Range::New();
+ blink::mojom::PhotoCapabilitiesPtr empty_capabilities =
+ blink::mojom::PhotoCapabilities::New();
+ empty_capabilities->zoom = blink::mojom::Range::New();
cb.Run(std::move(empty_capabilities));
}
@@ -66,7 +66,7 @@
// static
void ImageCaptureImpl::Create(
- mojo::InterfaceRequest<media::mojom::ImageCapture> request) {
+ mojo::InterfaceRequest<blink::mojom::ImageCapture> request) {
// |binding_| will take ownership of ImageCaptureImpl.
new ImageCaptureImpl(std::move(request));
}
@@ -100,7 +100,7 @@
}
ImageCaptureImpl::ImageCaptureImpl(
- mojo::InterfaceRequest<media::mojom::ImageCapture> request)
+ mojo::InterfaceRequest<blink::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