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

Unified Diff: net/log/net_log_util.cc

Issue 1122483004: Remove NetLog::GetCaptureMode() and NetLogCaptureMode::None() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mmenke_refactor
Patch Set: rename HasObservers --> IsCapturing Created 5 years, 7 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: net/log/net_log_util.cc
diff --git a/net/log/net_log_util.cc b/net/log/net_log_util.cc
index 0ac5b4146944589b651b2e0759616c435f1f84a2..9bd31d48e749451d58baf71161e01bef64db0bfa 100644
--- a/net/log/net_log_util.cc
+++ b/net/log/net_log_util.cc
@@ -524,7 +524,7 @@ NET_EXPORT void CreateNetLogEntriesForActiveObjects(
NetLog::EntryData entry_data(
NetLog::TYPE_REQUEST_ALIVE, request->net_log().source(),
NetLog::PHASE_BEGIN, request->creation_time(), &callback);
- NetLog::Entry entry(&entry_data, request->net_log().GetCaptureMode());
+ NetLog::Entry entry(&entry_data, NetLogCaptureMode::Default());
mmenke 2015/05/06 15:14:42 Suggest a comment that GetRequestStateAsValue igno
eroman 2015/05/06 17:01:05 Done.
observer->OnAddEntry(entry);
}
}

Powered by Google App Engine
This is Rietveld 408576698