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

Unified Diff: web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationClient.java

Issue 1953543002: Rename WebAPK related classes to be of the format *WebApk*.java (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 side-by-side diff with in-line comments
Download patch
Index: web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationClient.java
diff --git a/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationClient.java b/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationClient.java
index c40774269e004cd0e13d037e087866bd5ffcb992..e477928b4da194fa78c05bf0c59517904b5b4a29 100644
--- a/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationClient.java
+++ b/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationClient.java
@@ -14,7 +14,7 @@ import android.os.IBinder;
import android.os.RemoteException;
import android.util.Log;
-import org.chromium.minting.libs.runtime_library.IMintedApi;
+import org.chromium.minting.libs.runtime_library.IWebApkApi;
/**
* NotificationClient provides APIs that a WebAPK host can delegate display or close notification
@@ -24,7 +24,7 @@ public class NotificationClient {
private static final String CATEGORY_MINTED_API = "android.intent.category.MINTED_API";
private static final String TAG = "cr_NotificationClient";
- private IMintedApi mMintedApi;
+ private IWebApkApi mMintedApi;
public NotificationClient() {}
@@ -45,7 +45,7 @@ public class NotificationClient {
}
@Override
public void onServiceConnected(ComponentName name, IBinder service) {
- mMintedApi = IMintedApi.Stub.asInterface(service);
+ mMintedApi = IWebApkApi.Stub.asInterface(service);
Log.d(TAG, "Got minted api: " + mMintedApi);
try {
// Create all the PendingIntents needed to build the notification.
@@ -96,7 +96,7 @@ public class NotificationClient {
}
@Override
public void onServiceConnected(ComponentName name, IBinder service) {
- mMintedApi = IMintedApi.Stub.asInterface(service);
+ mMintedApi = IWebApkApi.Stub.asInterface(service);
Log.d(TAG, "Got minted api: " + mMintedApi);
try {
mMintedApi.closeNotification(platformTag, platformID);

Powered by Google App Engine
This is Rietveld 408576698