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

Unified Diff: net/base/network_delegate.cc

Issue 649763002: git cl format the second third of the net/base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 1c315ecdc5cab9163b7f91771d19731cbfa402ac..6825d96fc28902494d861565a35816817f44d7c5 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -12,35 +12,33 @@
namespace net {
-int NetworkDelegate::NotifyBeforeURLRequest(
- URLRequest* request, const CompletionCallback& callback,
- GURL* new_url) {
+int NetworkDelegate::NotifyBeforeURLRequest(URLRequest* request,
+ const CompletionCallback& callback,
+ GURL* new_url) {
DCHECK(CalledOnValidThread());
DCHECK(request);
DCHECK(!callback.is_null());
return OnBeforeURLRequest(request, callback, new_url);
}
-void NetworkDelegate::NotifyResolveProxy(
- const GURL& url,
- int load_flags,
- const ProxyService& proxy_service,
- ProxyInfo* result) {
+void NetworkDelegate::NotifyResolveProxy(const GURL& url,
+ int load_flags,
+ const ProxyService& proxy_service,
+ ProxyInfo* result) {
DCHECK(CalledOnValidThread());
DCHECK(result);
OnResolveProxy(url, load_flags, proxy_service, result);
}
-void NetworkDelegate::NotifyProxyFallback(
- const ProxyServer& bad_proxy,
- int net_error) {
+void NetworkDelegate::NotifyProxyFallback(const ProxyServer& bad_proxy,
+ int net_error) {
DCHECK(CalledOnValidThread());
OnProxyFallback(bad_proxy, net_error);
}
-int NetworkDelegate::NotifyBeforeSendHeaders(
- URLRequest* request, const CompletionCallback& callback,
- HttpRequestHeaders* headers) {
+int NetworkDelegate::NotifyBeforeSendHeaders(URLRequest* request,
+ const CompletionCallback& callback,
+ HttpRequestHeaders* headers) {
DCHECK(CalledOnValidThread());
DCHECK(headers);
DCHECK(!callback.is_null());
@@ -181,11 +179,10 @@ int NetworkDelegate::OnBeforeURLRequest(URLRequest* request,
return OK;
}
-void NetworkDelegate::OnResolveProxy(
- const GURL& url,
- int load_flags,
- const ProxyService& proxy_service,
- ProxyInfo* result) {
+void NetworkDelegate::OnResolveProxy(const GURL& url,
+ int load_flags,
+ const ProxyService& proxy_service,
+ ProxyInfo* result) {
}
void NetworkDelegate::OnProxyFallback(const ProxyServer& bad_proxy,
@@ -198,10 +195,9 @@ int NetworkDelegate::OnBeforeSendHeaders(URLRequest* request,
return OK;
}
-void NetworkDelegate::OnBeforeSendProxyHeaders(
- URLRequest* request,
- const ProxyInfo& proxy_info,
- HttpRequestHeaders* headers) {
+void NetworkDelegate::OnBeforeSendProxyHeaders(URLRequest* request,
+ const ProxyInfo& proxy_info,
+ HttpRequestHeaders* headers) {
}
void NetworkDelegate::OnSendHeaders(URLRequest* request,
@@ -247,7 +243,7 @@ NetworkDelegate::AuthRequiredResponse NetworkDelegate::OnAuthRequired(
}
bool NetworkDelegate::OnCanGetCookies(const URLRequest& request,
- const CookieList& cookie_list) {
+ const CookieList& cookie_list) {
return true;
}
@@ -258,7 +254,7 @@ bool NetworkDelegate::OnCanSetCookie(const URLRequest& request,
}
bool NetworkDelegate::OnCanAccessFile(const URLRequest& request,
- const base::FilePath& path) const {
+ const base::FilePath& path) const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698