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

Unified Diff: content/browser/image_capture/image_capture_impl.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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
Index: content/browser/image_capture/image_capture_impl.h
diff --git a/content/browser/image_capture/image_capture_impl.h b/content/browser/image_capture/image_capture_impl.h
index 7ea8c3209092592a9e8c26cf35fe5ca60e6548c9..7a6adfb7fe9c3c345302da2c20b1f2b633bfa2e9 100644
--- a/content/browser/image_capture/image_capture_impl.h
+++ b/content/browser/image_capture/image_capture_impl.h
@@ -7,6 +7,10 @@
#include "media/capture/mojo/image_capture.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace content {
class ImageCaptureImpl : public media::mojom::ImageCapture {
@@ -14,7 +18,8 @@ class ImageCaptureImpl : public media::mojom::ImageCapture {
ImageCaptureImpl();
~ImageCaptureImpl() override;
- static void Create(media::mojom::ImageCaptureRequest request);
+ static void Create(const service_manager::BindSourceInfo& source_info,
+ media::mojom::ImageCaptureRequest request);
void GetCapabilities(const std::string& source_id,
const GetCapabilitiesCallback& callback) override;
« no previous file with comments | « content/browser/hyphenation/hyphenation_impl.cc ('k') | content/browser/image_capture/image_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698