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

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

Issue 1304143010: Plumbing SSLPrivateKey Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 2 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "net/base/auth.h" 17 #include "net/base/auth.h"
18 #include "net/base/completion_callback.h" 18 #include "net/base/completion_callback.h"
19 #include "net/base/net_export.h" 19 #include "net/base/net_export.h"
20 #include "net/base/sdch_manager.h" 20 #include "net/base/sdch_manager.h"
21 #include "net/cookies/cookie_store.h" 21 #include "net/cookies/cookie_store.h"
22 #include "net/filter/filter.h" 22 #include "net/filter/filter.h"
23 #include "net/http/http_request_info.h" 23 #include "net/http/http_request_info.h"
24 #include "net/socket/connection_attempts.h" 24 #include "net/socket/connection_attempts.h"
25 #include "net/ssl/ssl_private_key.h"
davidben 2015/09/25 20:10:12 Nit: forward decl.
svaldez 2015/09/28 16:54:53 Done.
25 #include "net/url_request/url_request_backoff_manager.h" 26 #include "net/url_request/url_request_backoff_manager.h"
26 #include "net/url_request/url_request_job.h" 27 #include "net/url_request/url_request_job.h"
27 #include "net/url_request/url_request_throttler_entry_interface.h" 28 #include "net/url_request/url_request_throttler_entry_interface.h"
28 29
29 namespace net { 30 namespace net {
30 31
31 class HttpRequestHeaders; 32 class HttpRequestHeaders;
32 class HttpResponseHeaders; 33 class HttpResponseHeaders;
33 class HttpResponseInfo; 34 class HttpResponseInfo;
34 class HttpTransaction; 35 class HttpTransaction;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 121 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
121 bool GetResponseCookies(std::vector<std::string>* cookies) override; 122 bool GetResponseCookies(std::vector<std::string>* cookies) override;
122 int GetResponseCode() const override; 123 int GetResponseCode() const override;
123 Filter* SetupFilter() const override; 124 Filter* SetupFilter() const override;
124 bool CopyFragmentOnRedirect(const GURL& location) const override; 125 bool CopyFragmentOnRedirect(const GURL& location) const override;
125 bool IsSafeRedirect(const GURL& location) override; 126 bool IsSafeRedirect(const GURL& location) override;
126 bool NeedsAuth() override; 127 bool NeedsAuth() override;
127 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override; 128 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override;
128 void SetAuth(const AuthCredentials& credentials) override; 129 void SetAuth(const AuthCredentials& credentials) override;
129 void CancelAuth() override; 130 void CancelAuth() override;
130 void ContinueWithCertificate(X509Certificate* client_cert) override; 131 void ContinueWithCertificate(X509Certificate* client_cert,
132 SSLPrivateKey* client_pkey) override;
131 void ContinueDespiteLastError() override; 133 void ContinueDespiteLastError() override;
132 void ResumeNetworkStart() override; 134 void ResumeNetworkStart() override;
133 bool ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read) override; 135 bool ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read) override;
134 void StopCaching() override; 136 void StopCaching() override;
135 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; 137 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override;
136 int64 GetTotalReceivedBytes() const override; 138 int64 GetTotalReceivedBytes() const override;
137 int64_t GetTotalSentBytes() const override; 139 int64_t GetTotalSentBytes() const override;
138 void DoneReading() override; 140 void DoneReading() override;
139 void DoneReadingRedirectResponse() override; 141 void DoneReadingRedirectResponse() override;
140 142
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 int64_t total_sent_bytes_from_previous_transactions_; 287 int64_t total_sent_bytes_from_previous_transactions_;
286 288
287 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; 289 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_;
288 290
289 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 291 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
290 }; 292 };
291 293
292 } // namespace net 294 } // namespace net
293 295
294 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 296 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698