Chromium Code Reviews| Index: content/public/android/java/src/org/chromium/IsReadyToPayServiceCallback.aidl |
| diff --git a/content/public/android/java/src/org/chromium/IsReadyToPayServiceCallback.aidl b/content/public/android/java/src/org/chromium/IsReadyToPayServiceCallback.aidl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f832740f20a09917ba7b9039b7fdf193f411fada |
| --- /dev/null |
| +++ b/content/public/android/java/src/org/chromium/IsReadyToPayServiceCallback.aidl |
| @@ -0,0 +1,20 @@ |
| +// 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; |
| + |
| +/** |
| + * Helper interface to report back whether the |
| + * payment app is ready for payment. |
| + */ |
| +oneway interface IsReadyToPayServiceCallback { |
|
please use gerrit instead
2017/01/13 20:54:46
By the way, Android Studio is complaining about "o
rwlbuis
2017/01/13 22:12:25
It is confusing, in an article I saw both ways are
rwlbuis
2017/01/17 20:00:35
Okay, basically adding it on the interface is as g
|
| + /** |
| + * Method to be called by the Service to indicate |
| + * whether the payment app is ready for payment. |
| + * |
| + * @param isReadyToPay Whether payment app is ready to pay. |
| + */ |
| + void handleIsReadyToPay(boolean isReadyToPay); |
| +} |
| + |
|
please use gerrit instead
2017/01/13 20:54:46
nit: no trailing newline
|