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

Unified Diff: net/log/test_net_log.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/test_net_log.cc
diff --git a/net/log/test_net_log.cc b/net/log/test_net_log.cc
index a1b383e8bce841ae6d95ce961a51fde82f62b543..4986e66647f61c913911b2be4d880d6a7124d021 100644
--- a/net/log/test_net_log.cc
+++ b/net/log/test_net_log.cc
@@ -82,6 +82,10 @@ void TestNetLog::SetCaptureMode(NetLogCaptureMode capture_mode) {
SetObserverCaptureMode(observer_.get(), capture_mode);
}
+NetLogCaptureMode TestNetLog::GetCaptureMode() const {
+ return observer_->capture_mode();
+}
+
void TestNetLog::GetEntries(TestNetLogEntry::List* entry_list) const {
observer_->GetEntries(entry_list);
}

Powered by Google App Engine
This is Rietveld 408576698