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

Unified Diff: chrome/browser/extensions/api/dial/dial_service.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 | « AUTHORS ('k') | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/dial/dial_service.cc
diff --git a/chrome/browser/extensions/api/dial/dial_service.cc b/chrome/browser/extensions/api/dial/dial_service.cc
index 2548b5563a84bfe6bd6be3a690bb88d5d6d1e220..87d0ab4fecc57049ba68358e3d4b718cc1f46a50 100644
--- a/chrome/browser/extensions/api/dial/dial_service.cc
+++ b/chrome/browser/extensions/api/dial/dial_service.cc
@@ -32,6 +32,7 @@
#include "net/base/network_interfaces.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_util.h"
+#include "net/log/net_log_source_type.h"
#include "url/gurl.h"
#if defined(OS_CHROMEOS)
@@ -389,7 +390,7 @@ DialServiceImpl::DialServiceImpl(net::NetLog* net_log)
DCHECK(success);
send_address_ = net::IPEndPoint(address, kDialRequestPort);
send_buffer_ = new StringIOBuffer(BuildRequest());
- net_log_source_.type = net::NetLog::SOURCE_UDP_SOCKET;
+ net_log_source_.type = net::NetLogSourceType::UDP_SOCKET;
net_log_source_.id = net_log_->NextID();
}
« no previous file with comments | « AUTHORS ('k') | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698