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

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

Issue 9188019: Cleanup: Rename is_hsts_host to fatal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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_http_job.cc ('k') | net/url_request/url_request_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_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 virtual void NotifyURLRequestDestroyed(); 196 virtual void NotifyURLRequestDestroyed();
197 197
198 protected: 198 protected:
199 friend class base::RefCounted<URLRequestJob>; 199 friend class base::RefCounted<URLRequestJob>;
200 virtual ~URLRequestJob(); 200 virtual ~URLRequestJob();
201 201
202 // Notifies the job that a certificate is requested. 202 // Notifies the job that a certificate is requested.
203 void NotifyCertificateRequested(SSLCertRequestInfo* cert_request_info); 203 void NotifyCertificateRequested(SSLCertRequestInfo* cert_request_info);
204 204
205 // Notifies the job about an SSL certificate error. 205 // Notifies the job about an SSL certificate error.
206 void NotifySSLCertificateError(const SSLInfo& ssl_info, 206 void NotifySSLCertificateError(const SSLInfo& ssl_info, bool fatal);
207 bool is_hsts_host);
208 207
209 // Delegates to URLRequest::Delegate. 208 // Delegates to URLRequest::Delegate.
210 bool CanGetCookies(const CookieList& cookie_list) const; 209 bool CanGetCookies(const CookieList& cookie_list) const;
211 210
212 // Delegates to URLRequest::Delegate. 211 // Delegates to URLRequest::Delegate.
213 bool CanSetCookie(const std::string& cookie_line, 212 bool CanSetCookie(const std::string& cookie_line,
214 CookieOptions* options) const; 213 CookieOptions* options) const;
215 214
216 // Notifies the job that headers have been received. 215 // Notifies the job that headers have been received.
217 void NotifyHeadersComplete(); 216 void NotifyHeadersComplete();
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 int deferred_redirect_status_code_; 373 int deferred_redirect_status_code_;
375 374
376 base::WeakPtrFactory<URLRequestJob> weak_factory_; 375 base::WeakPtrFactory<URLRequestJob> weak_factory_;
377 376
378 DISALLOW_COPY_AND_ASSIGN(URLRequestJob); 377 DISALLOW_COPY_AND_ASSIGN(URLRequestJob);
379 }; 378 };
380 379
381 } // namespace net 380 } // namespace net
382 381
383 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_ 382 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698