OLD | NEW |
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 |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "net/cert/cert_status_flags.h" | 12 #include "net/cert/cert_status_flags.h" |
13 #include "net/cert/x509_certificate.h" | 13 #include "net/cert/x509_certificate.h" |
14 | 14 |
15 class GURL; | 15 class GURL; |
16 | 16 |
17 // This class describes an error that happened while showing a page over SSL. | 17 // This class describes an error that happened while showing a page over SSL. |
18 // An SSLErrorInfo object only exists on the UI thread and only contains | 18 // An SSLErrorInfo object only exists on the UI thread and only contains |
19 // information about an error (type of error and text details). | 19 // information about an error (type of error and text details). |
20 // Note no DISALLOW_COPY_AND_ASSIGN as we want the copy constructor. | 20 // Note no DISALLOW_COPY_AND_ASSIGN as we want the copy constructor. |
21 class SSLErrorInfo { | 21 class SSLErrorInfo { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 string16 title_; | 78 string16 title_; |
79 string16 details_; | 79 string16 details_; |
80 string16 short_description_; | 80 string16 short_description_; |
81 // Extra-informations contains paragraphs of text explaining in details what | 81 // Extra-informations contains paragraphs of text explaining in details what |
82 // the error is and what the risks are. | 82 // the error is and what the risks are. |
83 std::vector<string16> extra_information_; | 83 std::vector<string16> extra_information_; |
84 }; | 84 }; |
85 | 85 |
86 #endif // CHROME_BROWSER_SSL_SSL_ERROR_INFO_H_ | 86 #endif // CHROME_BROWSER_SSL_SSL_ERROR_INFO_H_ |
OLD | NEW |