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

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
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
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,
207 bool is_hsts_host); 207 bool fatal);
wtc 2012/01/13 01:39:57 Nit: this should fit on one line now.
palmer 2012/01/13 23:03:47 Done.
208 208
209 // Delegates to URLRequest::Delegate. 209 // Delegates to URLRequest::Delegate.
210 bool CanGetCookies(const CookieList& cookie_list) const; 210 bool CanGetCookies(const CookieList& cookie_list) const;
211 211
212 // Delegates to URLRequest::Delegate. 212 // Delegates to URLRequest::Delegate.
213 bool CanSetCookie(const std::string& cookie_line, 213 bool CanSetCookie(const std::string& cookie_line,
214 CookieOptions* options) const; 214 CookieOptions* options) const;
215 215
216 // Notifies the job that headers have been received. 216 // Notifies the job that headers have been received.
217 void NotifyHeadersComplete(); 217 void NotifyHeadersComplete();
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 int deferred_redirect_status_code_; 374 int deferred_redirect_status_code_;
375 375
376 base::WeakPtrFactory<URLRequestJob> weak_factory_; 376 base::WeakPtrFactory<URLRequestJob> weak_factory_;
377 377
378 DISALLOW_COPY_AND_ASSIGN(URLRequestJob); 378 DISALLOW_COPY_AND_ASSIGN(URLRequestJob);
379 }; 379 };
380 380
381 } // namespace net 381 } // namespace net
382 382
383 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_ 383 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698