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

Side by Side Diff: net/url_request/url_request_http_job.h

Issue 13609002: fix a problem that android cannot download files with basic authentication (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE; 101 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
102 virtual bool GetCharset(std::string* charset) OVERRIDE; 102 virtual bool GetCharset(std::string* charset) OVERRIDE;
103 virtual void GetResponseInfo(HttpResponseInfo* info) OVERRIDE; 103 virtual void GetResponseInfo(HttpResponseInfo* info) OVERRIDE;
104 virtual void GetLoadTimingInfo( 104 virtual void GetLoadTimingInfo(
105 LoadTimingInfo* load_timing_info) const OVERRIDE; 105 LoadTimingInfo* load_timing_info) const OVERRIDE;
106 virtual bool GetResponseCookies(std::vector<std::string>* cookies) OVERRIDE; 106 virtual bool GetResponseCookies(std::vector<std::string>* cookies) OVERRIDE;
107 virtual int GetResponseCode() const OVERRIDE; 107 virtual int GetResponseCode() const OVERRIDE;
108 virtual Filter* SetupFilter() const OVERRIDE; 108 virtual Filter* SetupFilter() const OVERRIDE;
109 virtual bool IsSafeRedirect(const GURL& location) OVERRIDE; 109 virtual bool IsSafeRedirect(const GURL& location) OVERRIDE;
110 virtual bool NeedsAuth() OVERRIDE; 110 virtual bool NeedsAuth() OVERRIDE;
111 virtual bool HasAuth() const OVERRIDE;
111 virtual void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) OVERRIDE; 112 virtual void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) OVERRIDE;
112 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE; 113 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE;
113 virtual void CancelAuth() OVERRIDE; 114 virtual void CancelAuth() OVERRIDE;
114 virtual void ContinueWithCertificate(X509Certificate* client_cert) OVERRIDE; 115 virtual void ContinueWithCertificate(X509Certificate* client_cert) OVERRIDE;
115 virtual void ContinueDespiteLastError() OVERRIDE; 116 virtual void ContinueDespiteLastError() OVERRIDE;
116 virtual bool ReadRawData(IOBuffer* buf, int buf_size, 117 virtual bool ReadRawData(IOBuffer* buf, int buf_size,
117 int* bytes_read) OVERRIDE; 118 int* bytes_read) OVERRIDE;
118 virtual void StopCaching() OVERRIDE; 119 virtual void StopCaching() OVERRIDE;
119 virtual void DoneReading() OVERRIDE; 120 virtual void DoneReading() OVERRIDE;
120 virtual HostPortPair GetSocketAddress() const OVERRIDE; 121 virtual HostPortPair GetSocketAddress() const OVERRIDE;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 scoped_ptr<HttpTransactionDelegateImpl> http_transaction_delegate_; 260 scoped_ptr<HttpTransactionDelegateImpl> http_transaction_delegate_;
260 261
261 const HttpUserAgentSettings* http_user_agent_settings_; 262 const HttpUserAgentSettings* http_user_agent_settings_;
262 263
263 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 264 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
264 }; 265 };
265 266
266 } // namespace net 267 } // namespace net
267 268
268 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 269 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698