Index: chrome/android/java/src/org/chromium/chrome/browser/photo_picker/IDecoderServiceCallback.aidl |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/photo_picker/IDecoderServiceCallback.aidl b/chrome/android/java/src/org/chromium/chrome/browser/photo_picker/IDecoderServiceCallback.aidl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..31fefa5281fe60f6ec576db8df7754ec061fe535 |
--- /dev/null |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/photo_picker/IDecoderServiceCallback.aidl |
@@ -0,0 +1,18 @@ |
+// 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; |
+ |
+/** |
+ * This interface is used to communicate the results of an image decoding |
+ * request. |
+ */ |
+interface IDecoderServiceCallback { |
+ /** |
+ * Called when decoding is done. |
+ * @param payload The results of the image decoding request, including the |
+ * decoded bitmap. |
+ */ |
+ oneway void onDecodeImageDone(in Bundle payload); |
+} |