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

Unified Diff: ios/chrome/browser/ui/webui/net_export/net_export_ui.cc

Issue 2698143004: Add ongoing events to net-export log when logging starts (Closed)
Patch Set: Fixed Eric's comments from ps10 Created 3 years, 10 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: ios/chrome/browser/ui/webui/net_export/net_export_ui.cc
diff --git a/ios/chrome/browser/ui/webui/net_export/net_export_ui.cc b/ios/chrome/browser/ui/webui/net_export/net_export_ui.cc
index f58b4bb789fa05baa5d983cede514c9512285deb..c13cf55d23677c3a671877ca9ed7dcb0ea2355cd 100644
--- a/ios/chrome/browser/ui/webui/net_export/net_export_ui.cc
+++ b/ios/chrome/browser/ui/webui/net_export/net_export_ui.cc
@@ -139,7 +139,9 @@ void NetExportMessageHandler::OnStartNetLog(const base::ListValue* list) {
net::NetLogCaptureMode capture_mode =
net_log::NetLogFileWriter::CaptureModeFromString(capture_mode_string);
- file_writer_->StartNetLog(base::FilePath(), capture_mode);
+ file_writer_->StartNetLog(
+ base::FilePath(), capture_mode,
+ {GetApplicationContext()->GetSystemURLRequestContext()});
}
void NetExportMessageHandler::OnStopNetLog(const base::ListValue* list) {

Powered by Google App Engine
This is Rietveld 408576698