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

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

Issue 2035293002: Remove URLRequest::GetResponseCookies and URLRequestJob::GetResponseCookies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments rogerta Created 4 years, 6 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
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 } 180 }
181 181
182 const URLRequestStatus& URLFetcherImpl::GetStatus() const { 182 const URLRequestStatus& URLFetcherImpl::GetStatus() const {
183 return core_->GetStatus(); 183 return core_->GetStatus();
184 } 184 }
185 185
186 int URLFetcherImpl::GetResponseCode() const { 186 int URLFetcherImpl::GetResponseCode() const {
187 return core_->GetResponseCode(); 187 return core_->GetResponseCode();
188 } 188 }
189 189
190 const ResponseCookies& URLFetcherImpl::GetCookies() const {
191 return core_->GetCookies();
192 }
193
194 void URLFetcherImpl::ReceivedContentWasMalformed() { 190 void URLFetcherImpl::ReceivedContentWasMalformed() {
195 core_->ReceivedContentWasMalformed(); 191 core_->ReceivedContentWasMalformed();
196 } 192 }
197 193
198 bool URLFetcherImpl::GetResponseAsString( 194 bool URLFetcherImpl::GetResponseAsString(
199 std::string* out_response_string) const { 195 std::string* out_response_string) const {
200 return core_->GetResponseAsString(out_response_string); 196 return core_->GetResponseAsString(out_response_string);
201 } 197 }
202 198
203 bool URLFetcherImpl::GetResponseAsFilePath( 199 bool URLFetcherImpl::GetResponseAsFilePath(
(...skipping 25 matching lines...) Expand all
229 URLFetcherFactory* URLFetcherImpl::factory() { 225 URLFetcherFactory* URLFetcherImpl::factory() {
230 return g_factory; 226 return g_factory;
231 } 227 }
232 228
233 // static 229 // static
234 void URLFetcherImpl::set_factory(URLFetcherFactory* factory) { 230 void URLFetcherImpl::set_factory(URLFetcherFactory* factory) {
235 g_factory = factory; 231 g_factory = factory;
236 } 232 }
237 233
238 } // namespace net 234 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698