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

Unified Diff: net/log/test_net_log.h

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/net_log_util.cc ('k') | net/log/test_net_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/test_net_log.h
diff --git a/net/log/test_net_log.h b/net/log/test_net_log.h
index 174f715c80c7028de9c0877b2520d0944dd99f33..1526d8273011069100cb6054b50d9420759afbab 100644
--- a/net/log/test_net_log.h
+++ b/net/log/test_net_log.h
@@ -28,7 +28,7 @@ class TestNetLog : public NetLog {
TestNetLog();
~TestNetLog() override;
- void SetLogLevel(LogLevel log_level);
+ void SetCaptureMode(NetLogCaptureMode capture_mode);
// Below methods are forwarded to capturing_net_log_observer_.
void GetEntries(CapturedEntryList* entry_list) const;
@@ -67,8 +67,8 @@ class BoundTestNetLog {
void Clear();
- // Sets the log level of the underlying TestNetLog.
- void SetLogLevel(NetLog::LogLevel log_level);
+ // Sets the capture mode of the underlying TestNetLog.
+ void SetCaptureMode(NetLogCaptureMode capture_mode);
private:
TestNetLog capturing_net_log_;
« no previous file with comments | « net/log/net_log_util.cc ('k') | net/log/test_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698