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

Side by Side Diff: net/url_request/url_fetcher_impl.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/url_request/url_fetcher_impl.h" 5 #include "net/url_request/url_fetcher_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "base/sequenced_task_runner.h" 9 #include "base/sequenced_task_runner.h"
10 #include "net/url_request/url_fetcher_core.h" 10 #include "net/url_request/url_fetcher_core.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 105
106 void URLFetcherImpl::SetMaxRetriesOn5xx(int max_retries) { 106 void URLFetcherImpl::SetMaxRetriesOn5xx(int max_retries) {
107 core_->SetMaxRetriesOn5xx(max_retries); 107 core_->SetMaxRetriesOn5xx(max_retries);
108 } 108 }
109 109
110 int URLFetcherImpl::GetMaxRetriesOn5xx() const { 110 int URLFetcherImpl::GetMaxRetriesOn5xx() const {
111 return core_->GetMaxRetriesOn5xx(); 111 return core_->GetMaxRetriesOn5xx();
112 } 112 }
113 113
114
115 base::TimeDelta URLFetcherImpl::GetBackoffDelay() const { 114 base::TimeDelta URLFetcherImpl::GetBackoffDelay() const {
116 return core_->GetBackoffDelay(); 115 return core_->GetBackoffDelay();
117 } 116 }
118 117
119 void URLFetcherImpl::SetAutomaticallyRetryOnNetworkChanges(int max_retries) { 118 void URLFetcherImpl::SetAutomaticallyRetryOnNetworkChanges(int max_retries) {
120 core_->SetAutomaticallyRetryOnNetworkChanges(max_retries); 119 core_->SetAutomaticallyRetryOnNetworkChanges(max_retries);
121 } 120 }
122 121
123 void URLFetcherImpl::SaveResponseToFileAtPath( 122 void URLFetcherImpl::SaveResponseToFileAtPath(
124 const base::FilePath& file_path, 123 const base::FilePath& file_path,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 URLFetcherFactory* URLFetcherImpl::factory() { 214 URLFetcherFactory* URLFetcherImpl::factory() {
216 return g_factory; 215 return g_factory;
217 } 216 }
218 217
219 // static 218 // static
220 void URLFetcherImpl::set_factory(URLFetcherFactory* factory) { 219 void URLFetcherImpl::set_factory(URLFetcherFactory* factory) {
221 g_factory = factory; 220 g_factory = factory;
222 } 221 }
223 222
224 } // namespace net 223 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698