| Index: chrome/android/webapk/libs/runtime_library/src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl
|
| diff --git a/chrome/android/webapk/libs/runtime_library/src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl b/chrome/android/webapk/libs/runtime_library/src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..99ab9b5548fb2b9f27614c2be74ab8f9415dc737
|
| --- /dev/null
|
| +++ b/chrome/android/webapk/libs/runtime_library/src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2016 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.webapk.lib.runtime_library;
|
| +
|
| +import android.app.Notification;
|
| +
|
| +/**
|
| + * Interface for communicating between WebAPK service and Chrome.
|
| + */
|
| +interface IWebApkApi {
|
| + // Gets the id of the icon to represent WebAPK notifications in status bar.
|
| + int getSmallIconId();
|
| +
|
| + // Display a notification.
|
| + void notifyNotification(String platformTag, int platformID, in Notification notification);
|
| +
|
| + // Cancel a notification.
|
| + void cancelNotification(String platformTag, int platformID);
|
| +}
|
|
|