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

Unified Diff: web_apks/minting_example/src/org/chromium/minting/WebApkApplication.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/src/org/chromium/minting/WebApkApplication.java
diff --git a/web_apks/minting_example/src/org/chromium/minting/MintingApplication.java b/web_apks/minting_example/src/org/chromium/minting/WebApkApplication.java
similarity index 95%
rename from web_apks/minting_example/src/org/chromium/minting/MintingApplication.java
rename to web_apks/minting_example/src/org/chromium/minting/WebApkApplication.java
index b0cf798a4b6b6996e097f4bc6ff6d545530d54eb..2c60038ab5a86a37c107741a774ac0274fc41c35 100644
--- a/web_apks/minting_example/src/org/chromium/minting/MintingApplication.java
+++ b/web_apks/minting_example/src/org/chromium/minting/WebApkApplication.java
@@ -6,10 +6,9 @@ package org.chromium.minting;
import android.app.Application;
import android.content.Context;
-import android.content.pm.PackageManager.NameNotFoundException;
import android.util.Log;
-import org.chromium.minting.lib.common.WebAPKUtils;
+import org.chromium.minting.lib.common.WebApkUtils;
import java.lang.reflect.Array;
import java.util.List;
@@ -17,11 +16,11 @@ import java.util.List;
/**
* Example application for a minted APK.
*/
-public class MintingApplication extends Application {
+public class WebApkApplication extends Application {
// Context of Chrome.
private Context mRemoteContext = null;
- private static final String TAG = "cr.MintingApplication";
+ private static final String TAG = "cr.WebApkApplication";
/**
* Copy all the objects from a specified field of the hostInstance to the same field of the
* mintInstance. As a result, the given field of the mintInstance will contain all the
@@ -144,7 +143,7 @@ public class MintingApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
- mRemoteContext = WebAPKUtils.getHostBrowserContext(this);
+ mRemoteContext = WebApkUtils.getHostBrowserContext(this);
try {
addExternalLoader();
addNativeLibrarySearchPath();

Powered by Google App Engine
This is Rietveld 408576698