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

Side by Side Diff: content/common/net/url_fetcher_impl.cc

Issue 8416020: Handle additional feedback from http://codereview.chromium.org/8395038/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/common/net/url_fetcher_impl.h" 5 #include "content/common/net/url_fetcher_impl.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 void URLFetcherImpl::Start() { 1013 void URLFetcherImpl::Start() {
1014 core_->Start(); 1014 core_->Start();
1015 } 1015 }
1016 1016
1017 void URLFetcherImpl::StartWithRequestContextGetter( 1017 void URLFetcherImpl::StartWithRequestContextGetter(
1018 net::URLRequestContextGetter* request_context_getter) { 1018 net::URLRequestContextGetter* request_context_getter) {
1019 SetRequestContext(request_context_getter); 1019 SetRequestContext(request_context_getter);
1020 core_->Start(); 1020 core_->Start();
1021 } 1021 }
1022 1022
1023 const GURL& URLFetcherImpl::GetOriginalUrl() const { 1023 const GURL& URLFetcherImpl::GetOriginalURL() const {
1024 return core_->original_url_; 1024 return core_->original_url_;
1025 } 1025 }
1026 1026
1027 const GURL& URLFetcherImpl::GetUrl() const { 1027 const GURL& URLFetcherImpl::GetURL() const {
1028 return core_->url_; 1028 return core_->url_;
1029 } 1029 }
1030 1030
1031 const net::URLRequestStatus& URLFetcherImpl::GetStatus() const { 1031 const net::URLRequestStatus& URLFetcherImpl::GetStatus() const {
1032 return core_->status_; 1032 return core_->status_;
1033 } 1033 }
1034 1034
1035 int URLFetcherImpl::GetResponseCode() const { 1035 int URLFetcherImpl::GetResponseCode() const {
1036 return core_->response_code_; 1036 return core_->response_code_;
1037 } 1037 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 1101
1102 // static 1102 // static
1103 content::URLFetcherFactory* URLFetcherImpl::factory() { 1103 content::URLFetcherFactory* URLFetcherImpl::factory() {
1104 return g_factory; 1104 return g_factory;
1105 } 1105 }
1106 1106
1107 // static 1107 // static
1108 void URLFetcherImpl::set_factory(content::URLFetcherFactory* factory) { 1108 void URLFetcherImpl::set_factory(content::URLFetcherFactory* factory) {
1109 g_factory = factory; 1109 g_factory = factory;
1110 } 1110 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698