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

Unified Diff: components/cronet/android/test/test_upload_data_stream_handler.cc

Issue 2227503003: Add net log to UploadDataStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo 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
Index: components/cronet/android/test/test_upload_data_stream_handler.cc
diff --git a/components/cronet/android/test/test_upload_data_stream_handler.cc b/components/cronet/android/test/test_upload_data_stream_handler.cc
index e3fb74efa74f599cc90270f91f4da8745f16bb46..455f4ba7e643e4a329cb45f5d50761c87e9df911 100644
--- a/components/cronet/android/test/test_upload_data_stream_handler.cc
+++ b/components/cronet/android/test/test_upload_data_stream_handler.cc
@@ -115,8 +115,10 @@ void TestUploadDataStreamHandler::InitOnNetworkThread() {
init_callback_invoked_ = false;
read_buffer_ = nullptr;
bytes_read_ = 0;
- int res = upload_data_stream_->Init(base::Bind(
- &TestUploadDataStreamHandler::OnInitCompleted, base::Unretained(this)));
+ int res = upload_data_stream_->Init(
+ base::Bind(&TestUploadDataStreamHandler::OnInitCompleted,
+ base::Unretained(this)),
+ net::BoundNetLog());
JNIEnv* env = base::android::AttachCurrentThread();
cronet::Java_TestUploadDataStreamHandler_onInitCalled(
env, jtest_upload_data_stream_handler_, res);
« no previous file with comments | « components/cronet/android/cronet_upload_data_stream.cc ('k') | components/domain_reliability/uploader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698