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

Unified Diff: net/url_request/url_request_throttler_entry.cc

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/url_request/url_request_netlog_params.cc ('k') | remoting/base/vlog_net_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_throttler_entry.cc
diff --git a/net/url_request/url_request_throttler_entry.cc b/net/url_request/url_request_throttler_entry.cc
index 1197f6faf703ae375766f21fda705d2ecfea2348..84a90141cecff1fa93a63146c22aec7304e97758 100644
--- a/net/url_request/url_request_throttler_entry.cc
+++ b/net/url_request/url_request_throttler_entry.cc
@@ -52,10 +52,11 @@ const char URLRequestThrottlerEntry::kExponentialThrottlingDisableValue[] =
"disable";
// Returns NetLog parameters when a request is rejected by throttling.
-base::Value* NetLogRejectedRequestCallback(const std::string* url_id,
- int num_failures,
- const base::TimeDelta& release_after,
- NetLog::LogLevel /* log_level */) {
+base::Value* NetLogRejectedRequestCallback(
+ const std::string* url_id,
+ int num_failures,
+ const base::TimeDelta& release_after,
+ NetLogCaptureMode /* capture_mode */) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("url", *url_id);
dict->SetInteger("num_failures", num_failures);
« no previous file with comments | « net/url_request/url_request_netlog_params.cc ('k') | remoting/base/vlog_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698