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

Unified Diff: web_apks/minting_example/libs/client/org/chromium/minting/lib/client/WebApkValidator.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/WebApkValidator.java
diff --git a/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/WebAPKValidator.java b/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/WebApkValidator.java
similarity index 95%
rename from web_apks/minting_example/libs/client/org/chromium/minting/lib/client/WebAPKValidator.java
rename to web_apks/minting_example/libs/client/org/chromium/minting/lib/client/WebApkValidator.java
index 7aa3177190ccb4daf6f990a6550f0f92664c9cf3..09839c0065beb7012e99becb8dcfc380f51890c3 100644
--- a/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/WebAPKValidator.java
+++ b/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/WebApkValidator.java
@@ -4,7 +4,7 @@
package org.chromium.minting.lib.client;
-import static org.chromium.minting.lib.common.WebAPKConstants.WEB_APK_PACKAGE_PREFIX;
+import static org.chromium.minting.lib.common.WebApkConstants.WEB_APK_PACKAGE_PREFIX;
import android.content.Context;
import android.content.Intent;
@@ -21,9 +21,9 @@ import java.util.List;
/**
* Checks whether a URL belongs to a WebAPK.
*/
-public class WebAPKValidator {
+public class WebApkValidator {
- private static final String TAG = "WebAPKValidator";
+ private static final String TAG = "WebApkValidator";
private static byte[] sExpectedSignature;
/**
@@ -83,7 +83,7 @@ public class WebAPKValidator {
public static boolean isValidWebApk(Context context, String webappPackageName) {
if (sExpectedSignature == null) {
Log.wtf(TAG, "WebApk validation failure - expected signature not set."
- + "missing call to WebAPKValidator.initWithBrowserHostSignature");
+ + "missing call to WebApkValidator.initWithBrowserHostSignature");
}
if (webappPackageName != null && webappPackageName.startsWith(WEB_APK_PACKAGE_PREFIX)) {
// check signature

Powered by Google App Engine
This is Rietveld 408576698