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

Unified Diff: net/log/trace_net_log_observer.cc

Issue 1059843002: Refactor NetLog::LogLevel --> NetLogCaptureMode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again to fix a merge conflict Created 5 years, 8 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 | « net/log/test_net_log.cc ('k') | net/log/write_to_file_net_log_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/trace_net_log_observer.cc
diff --git a/net/log/trace_net_log_observer.cc b/net/log/trace_net_log_observer.cc
index a283ea5042ec34ac26beb2f2073c0391f5909775..2ce8bc07ff2ea3acab57de93e4b2ca0095c9058e 100644
--- a/net/log/trace_net_log_observer.cc
+++ b/net/log/trace_net_log_observer.cc
@@ -100,8 +100,7 @@ void TraceNetLogObserver::StopWatchForTraceStart() {
}
void TraceNetLogObserver::OnTraceLogEnabled() {
- net_log_to_watch_->DeprecatedAddObserver(this,
- NetLog::LOG_STRIP_PRIVATE_DATA);
+ net_log_to_watch_->DeprecatedAddObserver(this, NetLogCaptureMode::Default());
}
void TraceNetLogObserver::OnTraceLogDisabled() {
« no previous file with comments | « net/log/test_net_log.cc ('k') | net/log/write_to_file_net_log_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698