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

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

Issue 2417643007: Expose RTT and throughput estimates from Cronet (Closed)
Patch Set: Removed annotation Created 4 years, 2 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 6b1dc41f7ff6d98f08b1f773ac6d02953b9416fd..af149a5dd26eaabd6c2f95e235d74982c960d082 100644
--- a/components/cronet/android/BUILD.gn
+++ b/components/cronet/android/BUILD.gn
@@ -34,6 +34,12 @@ java_cpp_enum("effective_connection_type_java") {
]
}
+java_cpp_enum("rtt_throughput_values_java") {
+ sources = [
+ "//net/nqe/network_quality.h",
+ ]
+}
+
java_cpp_enum("chromium_url_request_java") {
sources = [
"chromium_url_request.h",
@@ -66,6 +72,7 @@ android_library("cronet_javadoc_classpath") {
]
srcjar_deps = [
":effective_connection_type_java",
+ ":rtt_throughput_values_java",
":url_request_error_java",
]
}
@@ -308,6 +315,7 @@ android_library("cronet_api") {
srcjar_deps = [
":cronet_api_version_srcjar",
":effective_connection_type_java",
+ ":rtt_throughput_values_java",
":http_cache_type_java",
":url_request_error_java",
":load_states_list",
@@ -864,7 +872,10 @@ jar_src("jar_cronet_api_source") {
src_search_dirs = [ "api/src" ]
# Include generated Java files which should be a part of the API.
- srcjar_deps = [ ":effective_connection_type_java" ]
+ srcjar_deps = [
+ ":effective_connection_type_java",
+ ":rtt_throughput_values_java",
+ ]
source_deps = [ ":cronet_api" ]
jar_path = "$_package_dir/cronet_api-src.jar"
}
« 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