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

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

Issue 2815103004: Android: convert kEnumName to ENUM_NAME in java_cpp_enum.py. (Closed)
Patch Set: Address agrieve@ comments 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/WebappDataStorage.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
index cc0cefb4e766998df3370704fc886d7df7e3a3e1..0b94233190d49444b56e9c72c3f22d6a1424df1b 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
@@ -203,7 +203,7 @@ public class WebappDataStorage {
mPreferences.getString(KEY_SCOPE, null), mPreferences.getString(KEY_NAME, null),
mPreferences.getString(KEY_SHORT_NAME, null),
ShortcutHelper.decodeBitmapFromString(mPreferences.getString(KEY_ICON, null)),
- version, mPreferences.getInt(KEY_DISPLAY_MODE, WebDisplayMode.kStandalone),
+ version, mPreferences.getInt(KEY_DISPLAY_MODE, WebDisplayMode.STANDALONE),
mPreferences.getInt(KEY_ORIENTATION, ScreenOrientationValues.DEFAULT),
mPreferences.getLong(
KEY_THEME_COLOR, ShortcutHelper.MANIFEST_COLOR_INVALID_OR_MISSING),
@@ -258,7 +258,7 @@ public class WebappDataStorage {
// "Standalone" was the original assumed default for all web apps.
editor.putInt(KEY_DISPLAY_MODE,
IntentUtils.safeGetIntExtra(shortcutIntent, ShortcutHelper.EXTRA_DISPLAY_MODE,
- WebDisplayMode.kStandalone));
+ WebDisplayMode.STANDALONE));
editor.putInt(KEY_ORIENTATION, IntentUtils.safeGetIntExtra(
shortcutIntent, ShortcutHelper.EXTRA_ORIENTATION,
ScreenOrientationValues.DEFAULT));

Powered by Google App Engine
This is Rietveld 408576698