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

Unified Diff: net/base/network_delegate.cc

Issue 15675002: Add the UMA recording recall of URLRequests preconnected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style fix Created 7 years, 7 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
« net/base/network_delegate.h ('K') | « net/base/network_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 5a69b863e62ef8394d9e646fbc102aea7d8f47bc..0fafcbc89a6255dd41b121bbe0ed6c0d43de39ea 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -10,6 +10,11 @@
namespace net {
+void NetworkDelegate::NotifyBeforePreconnect(const GURL& url) {
+ DCHECK(CalledOnValidThread());
+ OnBeforePreconnect(url);
+}
+
int NetworkDelegate::NotifyBeforeURLRequest(
URLRequest* request, const CompletionCallback& callback,
GURL* new_url) {
« net/base/network_delegate.h ('K') | « net/base/network_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698