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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManager.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/WebApkUpdateManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManager.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManager.java
index c84cb30f3d742451c2c4a20fc67c5fe761e6afa2..98a656712c6aa54ac198077dbed51a87d1c0da17 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManager.java
@@ -294,8 +294,8 @@ private boolean shouldCheckIfWebManifestUpdated(WebApkInfo info) {
* Updates {@link WebappDataStorage} with the time of the latest WebAPK update and whether the
* WebAPK update succeeded.
*/
- private static void recordUpdate(WebappDataStorage storage,
- @WebApkInstallResult.WebApkInstallResultEnum int result, boolean relaxUpdates) {
+ private static void recordUpdate(
+ WebappDataStorage storage, @WebApkInstallResult int result, boolean relaxUpdates) {
// Update the request time and result together. It prevents getting a correct request time
// but a result from the previous request.
storage.updateTimeOfLastWebApkUpdateRequestCompletion();
@@ -357,8 +357,8 @@ protected boolean urlsMatchIgnoringFragments(String url1, String url2) {
* fails.
*/
@CalledByNative
- private static void onBuiltWebApk(String id,
- @WebApkInstallResult.WebApkInstallResultEnum int result, boolean relaxUpdates) {
+ private static void onBuiltWebApk(
+ String id, @WebApkInstallResult int result, boolean relaxUpdates) {
WebappDataStorage storage = WebappRegistry.getInstance().getWebappDataStorage(id);
if (storage == null) return;

Powered by Google App Engine
This is Rietveld 408576698