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

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

Issue 1662763002: [ON HOLD] Implement pull-based design for content decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor common logic Created 4 years, 9 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 LoadState GetLoadState() const override; 115 LoadState GetLoadState() const override;
116 UploadProgress GetUploadProgress() const override; 116 UploadProgress GetUploadProgress() const override;
117 bool GetMimeType(std::string* mime_type) const override; 117 bool GetMimeType(std::string* mime_type) const override;
118 bool GetCharset(std::string* charset) override; 118 bool GetCharset(std::string* charset) override;
119 void GetResponseInfo(HttpResponseInfo* info) override; 119 void GetResponseInfo(HttpResponseInfo* info) override;
120 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 120 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
121 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override; 121 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override;
122 bool GetResponseCookies(std::vector<std::string>* cookies) override; 122 bool GetResponseCookies(std::vector<std::string>* cookies) override;
123 int GetResponseCode() const override; 123 int GetResponseCode() const override;
124 void PopulateNetErrorDetails(NetErrorDetails* details) const override; 124 void PopulateNetErrorDetails(NetErrorDetails* details) const override;
125 Filter* SetupFilter() const override; 125 scoped_ptr<StreamSource> SetupSource() override;
126 bool CopyFragmentOnRedirect(const GURL& location) const override; 126 bool CopyFragmentOnRedirect(const GURL& location) const override;
127 bool IsSafeRedirect(const GURL& location) override; 127 bool IsSafeRedirect(const GURL& location) override;
128 bool NeedsAuth() override; 128 bool NeedsAuth() override;
129 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override; 129 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override;
130 void SetAuth(const AuthCredentials& credentials) override; 130 void SetAuth(const AuthCredentials& credentials) override;
131 void CancelAuth() override; 131 void CancelAuth() override;
132 void ContinueWithCertificate(X509Certificate* client_cert, 132 void ContinueWithCertificate(X509Certificate* client_cert,
133 SSLPrivateKey* client_private_key) override; 133 SSLPrivateKey* client_private_key) override;
134 void ContinueDespiteLastError() override; 134 void ContinueDespiteLastError() override;
135 void ResumeNetworkStart() override; 135 void ResumeNetworkStart() override;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 int64_t total_sent_bytes_from_previous_transactions_; 276 int64_t total_sent_bytes_from_previous_transactions_;
277 277
278 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; 278 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_;
279 279
280 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 280 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
281 }; 281 };
282 282
283 } // namespace net 283 } // namespace net
284 284
285 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 285 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698