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

Unified Diff: components/net_log/net_export_file_writer.cc

Issue 2973673003: Use FileNetLogObserver for implementing --log-net-log. (Closed)
Patch Set: address comments 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
« no previous file with comments | « components/net_log/chrome_net_log.cc ('k') | net/log/file_net_log_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dd1917a9a46d14aec35d9e279e5c2d7da47b6894..e20448d3d2300127b7f4dadef3395f1e90e926d8 100644
--- a/components/net_log/net_export_file_writer.cc
+++ b/components/net_log/net_export_file_writer.cc
@@ -120,7 +120,7 @@ NetExportFileWriter::NetExportFileWriter(ChromeNetLog* chrome_net_log)
NetExportFileWriter::~NetExportFileWriter() {
if (file_net_log_observer_)
- file_net_log_observer_->StopObserving(nullptr, base::Bind([] {}));
+ file_net_log_observer_->StopObserving(nullptr, base::Closure());
}
void NetExportFileWriter::AddObserver(StateObserver* observer) {
« no previous file with comments | « components/net_log/chrome_net_log.cc ('k') | net/log/file_net_log_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698