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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java

Issue 2792583002: 📱 Simplify naming of generated java enums IntDefs (Closed)
Patch Set: rebase Created 3 years, 8 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: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java
index ea653ce93892e4a0bf37f0c5178fb7f60a99b632..673ab870562b7d53cee00403ebcd22d1c9ce37ab 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java
@@ -77,7 +77,7 @@ public void onResult(Integer result) {
mInstallDelegate.installAsync(packageName, version, title, token, url, callback);
}
- private void notify(@WebApkInstallResult.WebApkInstallResultEnum int result) {
+ private void notify(@WebApkInstallResult int result) {
if (mNativePointer != 0) {
nativeOnInstallFinished(mNativePointer, result);
}
@@ -114,5 +114,5 @@ private boolean isWebApkInstalled(String packageName) {
}
private native void nativeOnInstallFinished(
- long nativeWebApkInstaller, @WebApkInstallResult.WebApkInstallResultEnum int result);
+ long nativeWebApkInstaller, @WebApkInstallResult int result);
}

Powered by Google App Engine
This is Rietveld 408576698