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

Unified Diff: chrome/browser/net/net_log_temp_file.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 | « chrome/browser/net/chrome_net_log.cc ('k') | chrome/browser/net/net_log_temp_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/net_log_temp_file.h
diff --git a/chrome/browser/net/net_log_temp_file.h b/chrome/browser/net/net_log_temp_file.h
index 46598e3d81b0defd33a93a79f5825812d6fc594f..2b96276449587ababa206f0be90018a979b11c30 100644
--- a/chrome/browser/net/net_log_temp_file.h
+++ b/chrome/browser/net/net_log_temp_file.h
@@ -113,8 +113,8 @@ class NetLogTempFile {
LOG_TYPE_STRIP_PRIVATE_DATA,
};
- // Returns the NetLog::LogLevel corresponding to a LogType.
- static net::NetLog::LogLevel GetLogLevelForLogType(LogType log_type);
+ // Returns the NetLog::CaptureMode corresponding to a LogType.
+ static net::NetLogCaptureMode GetCaptureModeForLogType(LogType log_type);
// Initializes the |state_| to STATE_NOT_LOGGING and |log_type_| to
// LOG_TYPE_NONE (if there is no temporary file from earlier run) or
@@ -123,8 +123,9 @@ class NetLogTempFile {
bool EnsureInit();
// Start collecting NetLog data into chrome-net-export-log.json file in
- // base::GetTempDir() directory, using the specified log level. It is a no-op
- // if we are already collecting data into a file, and |log_level| is ignored.
+ // base::GetTempDir() directory, using the specified capture mode. It is a
+ // no-op if we are already collecting data into a file, and |capture_mode| is
+ // ignored.
// TODO(mmenke): That's rather weird behavior, think about improving it.
void StartNetLog(LogType log_type);
« no previous file with comments | « chrome/browser/net/chrome_net_log.cc ('k') | chrome/browser/net/net_log_temp_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698