Index: net/url_request/url_request_throttler_manager.cc |
diff --git a/net/url_request/url_request_throttler_manager.cc b/net/url_request/url_request_throttler_manager.cc |
index a36f0c96e93fb42a6aa4e923eca796be5436a275..77a30b3d7b80c4fe5c9376b11d7268c3b76e0db5 100644 |
--- a/net/url_request/url_request_throttler_manager.cc |
+++ b/net/url_request/url_request_throttler_manager.cc |
@@ -8,6 +8,8 @@ |
#include "base/strings/string_util.h" |
#include "net/base/url_util.h" |
#include "net/log/net_log.h" |
+#include "net/log/net_log_event_type.h" |
+#include "net/log/net_log_source_type.h" |
namespace net { |
@@ -78,7 +80,7 @@ scoped_refptr<URLRequestThrottlerEntryInterface> |
if (IsLocalhost(host)) { |
if (!logged_for_localhost_disabled_ && IsLocalhost(host)) { |
logged_for_localhost_disabled_ = true; |
- net_log_.AddEvent(NetLog::TYPE_THROTTLING_DISABLED_FOR_HOST, |
+ net_log_.AddEvent(NetLogEventType::THROTTLING_DISABLED_FOR_HOST, |
NetLog::StringCallback("host", &host)); |
} |
@@ -120,8 +122,8 @@ bool URLRequestThrottlerManager::enable_thread_checks() const { |
void URLRequestThrottlerManager::set_net_log(NetLog* net_log) { |
DCHECK(net_log); |
- net_log_ = BoundNetLog::Make(net_log, |
- NetLog::SOURCE_EXPONENTIAL_BACKOFF_THROTTLING); |
+ net_log_ = BoundNetLog::Make( |
+ net_log, NetLogSourceType::EXPONENTIAL_BACKOFF_THROTTLING); |
} |
NetLog* URLRequestThrottlerManager::net_log() const { |