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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/photo_picker/IDecoderService.aidl

Issue 2948583002: Photo Picker dialog: Convert to AIDL for easier security review. (Closed)
Patch Set: Add comment Created 3 years, 6 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: chrome/android/java/src/org/chromium/chrome/browser/photo_picker/IDecoderService.aidl
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/photo_picker/IDecoderService.aidl b/chrome/android/java/src/org/chromium/chrome/browser/photo_picker/IDecoderService.aidl
new file mode 100644
index 0000000000000000000000000000000000000000..778c3aa1e992c71ad814377681e78eefc642b63e
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/photo_picker/IDecoderService.aidl
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.photo_picker;
+
+import android.os.Bundle;
+
+import IDecoderServiceCallback;
+
+/**
+ * This interface is called by the Photo Picker to start image decoding jobs in
+ * a separate process.
+ */
+interface IDecoderService {
+ /**
+ * Decode an image.
+ * @param payload The data containing the details for the decoding request.
+ */
+ oneway void decodeImage(in Bundle payload, IDecoderServiceCallback listener);
+}

Powered by Google App Engine
This is Rietveld 408576698