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

Unified Diff: components/cronet/android/BUILD.gn

Issue 2223773003: Expose effective connection type to Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, addressed comments Created 4 years, 4 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 | « no previous file | components/cronet/android/api/src/org/chromium/net/CronetEngine.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/BUILD.gn
diff --git a/components/cronet/android/BUILD.gn b/components/cronet/android/BUILD.gn
index 4298e997d5d57efd5bd18448344d1eff088a7b69..8534e6bdba7503142dd88f1acea8094f5aa37bbf 100644
--- a/components/cronet/android/BUILD.gn
+++ b/components/cronet/android/BUILD.gn
@@ -30,6 +30,12 @@ generate_jni("cronet_jni_headers") {
jni_package = "cronet"
}
+java_cpp_enum("effective_connection_type_java") {
+ sources = [
+ "//net/nqe/effective_connection_type.h",
+ ]
+}
+
java_cpp_enum("chromium_url_request_java") {
sources = [
"chromium_url_request.h",
@@ -60,7 +66,10 @@ android_library("cronet_javadoc_classpath") {
deps = [
"//third_party/android_tools:android_support_annotations_java",
]
- srcjar_deps = [ ":url_request_error_java" ]
+ srcjar_deps = [
+ ":effective_connection_type_java",
+ ":url_request_error_java",
+ ]
}
java_cpp_enum("http_cache_type_java") {
@@ -305,6 +314,7 @@ android_library("cronet_api") {
srcjar_deps = [
":cronet_api_version_srcjar",
+ ":effective_connection_type_java",
":http_cache_type_java",
":url_request_error_java",
":load_states_list",
« no previous file with comments | « no previous file | components/cronet/android/api/src/org/chromium/net/CronetEngine.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698