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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h

Issue 2620083002: Shape Detection: Move mojom interface to //services (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
index 126559c269b3a55915dcc100ec2cf138dc977506..27b56722be7c8032f2151de41703b48b2e2c6b52 100644
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
@@ -11,7 +11,7 @@
#include "modules/ModulesExport.h"
#include "modules/canvas2d/CanvasRenderingContext2D.h"
#include "modules/shapedetection/ShapeDetector.h"
-#include "public/platform/modules/shapedetection/barcodedetection.mojom-blink.h"
+#include "services/shape_detection/public/interfaces/barcodedetection.mojom-blink.h"
namespace blink {
@@ -34,11 +34,12 @@ class MODULES_EXPORT BarcodeDetector final : public ShapeDetector,
mojo::ScopedSharedBufferHandle,
int imageWidth,
int imageHeight) override;
- void onDetectBarcodes(ScriptPromiseResolver*,
- Vector<mojom::blink::BarcodeDetectionResultPtr>);
+ void onDetectBarcodes(
+ ScriptPromiseResolver*,
+ Vector<shape_detection::mojom::blink::BarcodeDetectionResultPtr>);
void onBarcodeServiceConnectionError();
- mojom::blink::BarcodeDetectionPtr m_barcodeService;
+ shape_detection::mojom::blink::BarcodeDetectionPtr m_barcodeService;
HeapHashSet<Member<ScriptPromiseResolver>> m_barcodeServiceRequests;
};

Powered by Google App Engine
This is Rietveld 408576698