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

Unified Diff: components/net_log/net_export_file_writer.cc

Issue 2966283002: Remove the file thread dependency from FileNetLogObserver. (Closed)
Patch Set: undo const-ref changes Created 3 years, 5 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/net_log/net_export_file_writer.cc
diff --git a/components/net_log/net_export_file_writer.cc b/components/net_log/net_export_file_writer.cc
index 07765ee2c4492d0a4d07bb2aef4d3027b9fdf84d..dd1917a9a46d14aec35d9e279e5c2d7da47b6894 100644
--- a/components/net_log/net_export_file_writer.cc
+++ b/components/net_log/net_export_file_writer.cc
@@ -184,9 +184,9 @@ void NetExportFileWriter::StartNetLog(
std::unique_ptr<base::Value> constants(
ChromeNetLog::GetConstants(command_line_string, channel_string));
- // Instantiate a FileNetLogObserver in unbounded mode.
- file_net_log_observer_ = net::FileNetLogObserver::CreateUnbounded(
- file_task_runner_, log_path_, std::move(constants));
+
+ file_net_log_observer_ =
+ net::FileNetLogObserver::CreateUnbounded(log_path_, std::move(constants));
net_task_runner_->PostTaskAndReply(
FROM_HERE,
« no previous file with comments | « components/cronet/android/cronet_url_request_context_adapter.cc ('k') | components/net_log/net_export_file_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698