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

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

Issue 6995013: More progress towards removing content settings code from the content layer. We can't use Cookie... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments and sync Created 9 years, 7 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
« no previous file with comments | « net/url_request/url_request.cc ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void AddExtraHeaders(); 46 void AddExtraHeaders();
47 void AddCookieHeaderAndStart(); 47 void AddCookieHeaderAndStart();
48 void SaveCookiesAndNotifyHeadersComplete(); 48 void SaveCookiesAndNotifyHeadersComplete();
49 void SaveNextCookie(); 49 void SaveNextCookie();
50 void FetchResponseCookies(const HttpResponseInfo* response_info, 50 void FetchResponseCookies(const HttpResponseInfo* response_info,
51 std::vector<std::string>* cookies); 51 std::vector<std::string>* cookies);
52 52
53 // Process the Strict-Transport-Security header, if one exists. 53 // Process the Strict-Transport-Security header, if one exists.
54 void ProcessStrictTransportSecurityHeader(); 54 void ProcessStrictTransportSecurityHeader();
55 55
56 void OnCanGetCookiesCompleted(int result); 56 void OnCanGetCookiesCompleted(bool allow);
57 void OnCanSetCookieCompleted(int result); 57 void OnCanSetCookieCompleted();
58 void OnStartCompleted(int result); 58 void OnStartCompleted(int result);
59 void OnReadCompleted(int result); 59 void OnReadCompleted(int result);
60 60
61 bool ShouldTreatAsCertificateError(int result); 61 bool ShouldTreatAsCertificateError(int result);
62 62
63 void RestartTransactionWithAuth(const string16& username, 63 void RestartTransactionWithAuth(const string16& username,
64 const string16& password); 64 const string16& password);
65 65
66 // Overridden from URLRequestJob: 66 // Overridden from URLRequestJob:
67 virtual void SetUpload(UploadData* upload); 67 virtual void SetUpload(UploadData* upload);
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 scoped_ptr<HttpFilterContext> filter_context_; 183 scoped_ptr<HttpFilterContext> filter_context_;
184 ScopedRunnableMethodFactory<URLRequestHttpJob> method_factory_; 184 ScopedRunnableMethodFactory<URLRequestHttpJob> method_factory_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 186 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
187 }; 187 };
188 188
189 } // namespace net 189 } // namespace net
190 190
191 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 191 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698