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

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

Issue 10825073: Stop using ScopedAllowIO in content::ResourceDispatcherHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // error as a result of a call to Start. 71 // error as a result of a call to Start.
72 bool ShouldRetryRequest(int result) const; 72 bool ShouldRetryRequest(int result) const;
73 73
74 // Overridden from URLRequestJob: 74 // Overridden from URLRequestJob:
75 virtual void SetUpload(UploadData* upload) OVERRIDE; 75 virtual void SetUpload(UploadData* upload) OVERRIDE;
76 virtual void SetExtraRequestHeaders( 76 virtual void SetExtraRequestHeaders(
77 const HttpRequestHeaders& headers) OVERRIDE; 77 const HttpRequestHeaders& headers) OVERRIDE;
78 virtual void Start() OVERRIDE; 78 virtual void Start() OVERRIDE;
79 virtual void Kill() OVERRIDE; 79 virtual void Kill() OVERRIDE;
80 virtual LoadState GetLoadState() const OVERRIDE; 80 virtual LoadState GetLoadState() const OVERRIDE;
81 virtual uint64 GetUploadProgress() const OVERRIDE; 81 virtual UploadProgress GetUploadProgress() const OVERRIDE;
82 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE; 82 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
83 virtual bool GetCharset(std::string* charset) OVERRIDE; 83 virtual bool GetCharset(std::string* charset) OVERRIDE;
84 virtual void GetResponseInfo(HttpResponseInfo* info) OVERRIDE; 84 virtual void GetResponseInfo(HttpResponseInfo* info) OVERRIDE;
85 virtual bool GetResponseCookies(std::vector<std::string>* cookies) OVERRIDE; 85 virtual bool GetResponseCookies(std::vector<std::string>* cookies) OVERRIDE;
86 virtual int GetResponseCode() const OVERRIDE; 86 virtual int GetResponseCode() const OVERRIDE;
87 virtual Filter* SetupFilter() const OVERRIDE; 87 virtual Filter* SetupFilter() const OVERRIDE;
88 virtual bool IsSafeRedirect(const GURL& location) OVERRIDE; 88 virtual bool IsSafeRedirect(const GURL& location) OVERRIDE;
89 virtual bool NeedsAuth() OVERRIDE; 89 virtual bool NeedsAuth() OVERRIDE;
90 virtual void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) OVERRIDE; 90 virtual void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) OVERRIDE;
91 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE; 91 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // result of, if any. If this request has not been retried, must be 0. 257 // result of, if any. If this request has not been retried, must be 0.
258 // Reset once it's been used to log histograms. 258 // Reset once it's been used to log histograms.
259 int error_before_retry_; 259 int error_before_retry_;
260 260
261 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 261 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
262 }; 262 };
263 263
264 } // namespace net 264 } // namespace net
265 265
266 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 266 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698