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

Unified Diff: net/log/capturing_net_log.h

Issue 1059843002: Refactor NetLog::LogLevel --> NetLogCaptureMode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add header for std::max 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
Index: net/log/capturing_net_log.h
diff --git a/net/log/capturing_net_log.h b/net/log/capturing_net_log.h
index f2cc03f7bc620f4c760c67039a2f93313cee8616..d5bcf2bac1bd56dc507420f4a1866dd9918b3dfe 100644
--- a/net/log/capturing_net_log.h
+++ b/net/log/capturing_net_log.h
@@ -28,7 +28,7 @@ class CapturingNetLog : public NetLog {
CapturingNetLog();
~CapturingNetLog() 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;
@@ -68,8 +68,8 @@ class CapturingBoundNetLog {
void Clear();
- // Sets the log level of the underlying CapturingNetLog.
- void SetLogLevel(NetLog::LogLevel log_level);
+ // Sets the capture mode of the underlying CapturingNetLog.
+ void SetCaptureMode(NetLogCaptureMode capture_mode);
private:
CapturingNetLog capturing_net_log_;

Powered by Google App Engine
This is Rietveld 408576698