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

Side by Side Diff: chrome/browser/ssl/ssl_error_info.h

Issue 10821024: Remove error handling for NOT_IN_DNS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: g try Created 8 years, 4 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/ssl/ssl_error_info.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 CHROME_BROWSER_SSL_SSL_ERROR_INFO_H_ 5 #ifndef CHROME_BROWSER_SSL_SSL_ERROR_INFO_H_
6 #define CHROME_BROWSER_SSL_SSL_ERROR_INFO_H_ 6 #define CHROME_BROWSER_SSL_SSL_ERROR_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 enum ErrorType { 23 enum ErrorType {
24 CERT_COMMON_NAME_INVALID = 0, 24 CERT_COMMON_NAME_INVALID = 0,
25 CERT_DATE_INVALID, 25 CERT_DATE_INVALID,
26 CERT_AUTHORITY_INVALID, 26 CERT_AUTHORITY_INVALID,
27 CERT_CONTAINS_ERRORS, 27 CERT_CONTAINS_ERRORS,
28 CERT_NO_REVOCATION_MECHANISM, 28 CERT_NO_REVOCATION_MECHANISM,
29 CERT_UNABLE_TO_CHECK_REVOCATION, 29 CERT_UNABLE_TO_CHECK_REVOCATION,
30 CERT_REVOKED, 30 CERT_REVOKED,
31 CERT_INVALID, 31 CERT_INVALID,
32 CERT_WEAK_SIGNATURE_ALGORITHM, 32 CERT_WEAK_SIGNATURE_ALGORITHM,
33 CERT_NOT_IN_DNS,
34 CERT_WEAK_KEY, 33 CERT_WEAK_KEY,
35 UNKNOWN 34 UNKNOWN
36 }; 35 };
37 36
38 virtual ~SSLErrorInfo(); 37 virtual ~SSLErrorInfo();
39 38
40 // Converts a network error code to an ErrorType. 39 // Converts a network error code to an ErrorType.
41 static ErrorType NetErrorToErrorType(int net_error); 40 static ErrorType NetErrorToErrorType(int net_error);
42 41
43 static SSLErrorInfo CreateError(ErrorType error_type, 42 static SSLErrorInfo CreateError(ErrorType error_type,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 75
77 string16 title_; 76 string16 title_;
78 string16 details_; 77 string16 details_;
79 string16 short_description_; 78 string16 short_description_;
80 // Extra-informations contains paragraphs of text explaining in details what 79 // Extra-informations contains paragraphs of text explaining in details what
81 // the error is and what the risks are. 80 // the error is and what the risks are.
82 std::vector<string16> extra_information_; 81 std::vector<string16> extra_information_;
83 }; 82 };
84 83
85 #endif // CHROME_BROWSER_SSL_SSL_ERROR_INFO_H_ 84 #endif // CHROME_BROWSER_SSL_SSL_ERROR_INFO_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ssl/ssl_error_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698