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

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

Issue 11339032: Account for server vs host clock skew in cookie expiration times. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable test on Android as there's no test server Created 8 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
« no previous file with comments | « net/cookies/cookie_store_unittest.h ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 virtual void StopCaching() OVERRIDE; 91 virtual void StopCaching() OVERRIDE;
92 virtual void DoneReading() OVERRIDE; 92 virtual void DoneReading() OVERRIDE;
93 virtual HostPortPair GetSocketAddress() const OVERRIDE; 93 virtual HostPortPair GetSocketAddress() const OVERRIDE;
94 virtual void NotifyURLRequestDestroyed() OVERRIDE; 94 virtual void NotifyURLRequestDestroyed() OVERRIDE;
95 95
96 HttpRequestInfo request_info_; 96 HttpRequestInfo request_info_;
97 const HttpResponseInfo* response_info_; 97 const HttpResponseInfo* response_info_;
98 98
99 std::vector<std::string> response_cookies_; 99 std::vector<std::string> response_cookies_;
100 size_t response_cookies_save_index_; 100 size_t response_cookies_save_index_;
101 base::Time response_date_;
101 102
102 // Auth states for proxy and origin server. 103 // Auth states for proxy and origin server.
103 AuthState proxy_auth_state_; 104 AuthState proxy_auth_state_;
104 AuthState server_auth_state_; 105 AuthState server_auth_state_;
105 AuthCredentials auth_credentials_; 106 AuthCredentials auth_credentials_;
106 107
107 CompletionCallback start_callback_; 108 CompletionCallback start_callback_;
108 CompletionCallback notify_before_headers_sent_callback_; 109 CompletionCallback notify_before_headers_sent_callback_;
109 110
110 bool read_in_progress_; 111 bool read_in_progress_;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 bool awaiting_callback_; 243 bool awaiting_callback_;
243 244
244 scoped_ptr<HttpTransactionDelegateImpl> http_transaction_delegate_; 245 scoped_ptr<HttpTransactionDelegateImpl> http_transaction_delegate_;
245 246
246 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 247 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
247 }; 248 };
248 249
249 } // namespace net 250 } // namespace net
250 251
251 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 252 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW
« no previous file with comments | « net/cookies/cookie_store_unittest.h ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698