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

Unified Diff: components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.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: components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java
diff --git a/components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java b/components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java
index 629b8d9e4b42347cf71cf62303b2960eb5997b0d..6f5663fb3a22e3bdd70c0d14a1571589e2a5bd52 100644
--- a/components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java
+++ b/components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java
@@ -558,8 +558,7 @@ private int getLoggingLevel() {
return loggingLevel;
}
- private static int convertConnectionTypeToApiValue(
- @EffectiveConnectionType.EffectiveConnectionTypeEnum int type) {
+ private static int convertConnectionTypeToApiValue(@EffectiveConnectionType int type) {
switch (type) {
case EffectiveConnectionType.TYPE_OFFLINE:
return EFFECTIVE_CONNECTION_TYPE_OFFLINE;

Powered by Google App Engine
This is Rietveld 408576698