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

Side by Side Diff: chrome/android/webapk/libs/runtime_library/src/org/chromium/webapk/lib/runtime_library/IWebApkApi.aidl

Issue 1969873003: Remove WebApkServiceImpl#getBroadcastPendingIntent() because it is unneeded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.webapk.lib.runtime_library; 5 package org.chromium.webapk.lib.runtime_library;
6 6
7 import android.app.Notification; 7 import android.app.Notification;
8 import android.app.PendingIntent;
9 import android.content.Intent;
10 import android.os.Bundle;
11 8
12 /** 9 /**
13 * Interface for communicating between the minted helper service and Chrome. 10 * Interface for communicating between the minted helper service and Chrome.
14 */ 11 */
15 interface IWebApkApi { 12 interface IWebApkApi {
16 // Given an Intent, creates a PendingIntent which is broadcasted by the WebA PK.
17 PendingIntent getBroadcastPendingIntent(int requestCode, in Intent intent, i nt flags);
18
19 // Get the small icon id for displaying a notification. 13 // Get the small icon id for displaying a notification.
20 int getSmallIconId(); 14 int getSmallIconId();
21 15
22 // Display a notification. 16 // Display a notification.
23 void displayNotification(String platformTag, int platformID, in Notification notification); 17 void displayNotification(String platformTag, int platformID, in Notification notification);
24 18
25 // Close a notification. 19 // Close a notification.
26 void closeNotification(String platformTag, int platformID); 20 void closeNotification(String platformTag, int platformID);
27 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698