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

Unified Diff: net/nqe/effective_connection_type.h

Issue 2341443002: [Cronet] Strip prefix of EFFECTIVE_CONNECTION_TYPE to just TYPE_blah (Closed)
Patch Set: fix tests Created 4 years, 3 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
« no previous file with comments | « components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/effective_connection_type.h
diff --git a/net/nqe/effective_connection_type.h b/net/nqe/effective_connection_type.h
index b17fb00da90974fd2f1f4326a690ac82b777caa7..a40618bb78bf656b75c50c5e8a96407025fe3fcd 100644
--- a/net/nqe/effective_connection_type.h
+++ b/net/nqe/effective_connection_type.h
@@ -20,11 +20,8 @@ namespace net {
// connection is metered or not. For example, an unmetered slow connection may
// have EFFECTIVE_CONNECTION_TYPE_SLOW_2G as its effective connection type. The
// effective connection type enums are be in increasing order of quality.
-// An invalid Java prefix to strip is specified to prevent the Java class
-// generator from automatically stripping off the common prefix
-// ("EFFECTIVE_CONNECTION_TYPE_").
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.net
-// GENERATED_JAVA_PREFIX_TO_STRIP: PREFIX_NOT_PRESENT_
+// GENERATED_JAVA_PREFIX_TO_STRIP: EFFECTIVE_CONNECTION_
enum EffectiveConnectionType {
// Effective connection type reported when the network quality is unknown.
EFFECTIVE_CONNECTION_TYPE_UNKNOWN = 0,
« no previous file with comments | « components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698