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

Unified Diff: net/proxy/proxy_list.cc

Issue 2315613002: Extracted NetLog class's inner enum types into their own enum classes and (Closed)
Patch Set: Ran "git cl format" on code. Much formatting ensued. Created 4 years, 3 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/proxy/multi_threaded_proxy_resolver_unittest.cc ('k') | net/proxy/proxy_resolver_factory_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_list.cc
diff --git a/net/proxy/proxy_list.cc b/net/proxy/proxy_list.cc
index 6d26abf4ddf85809208a7874b903c56463408bdf..464f795c15c93b10e9e13a6952970a6597442bc7 100644
--- a/net/proxy/proxy_list.cc
+++ b/net/proxy/proxy_list.cc
@@ -9,6 +9,7 @@
#include "base/strings/string_tokenizer.h"
#include "base/time/time.h"
#include "base/values.h"
+#include "net/log/net_log_event_type.h"
#include "net/proxy/proxy_server.h"
using base::TimeDelta;
@@ -199,7 +200,7 @@ void ProxyList::AddProxyToRetryList(ProxyRetryInfoMap* proxy_retry_info,
retry_info.net_error = net_error;
(*proxy_retry_info)[proxy_key] = retry_info;
}
- net_log.AddEvent(NetLog::TYPE_PROXY_LIST_FALLBACK,
+ net_log.AddEvent(NetLogEventType::PROXY_LIST_FALLBACK,
NetLog::StringCallback("bad_proxy", &proxy_key));
}
« no previous file with comments | « net/proxy/multi_threaded_proxy_resolver_unittest.cc ('k') | net/proxy/proxy_resolver_factory_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698