OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_ERROR_INFO_H__ | 5 #ifndef CHROME_BROWSER_SSL_ERROR_INFO_H__ |
6 #define CHROME_BROWSER_SSL_ERROR_INFO_H__ | 6 #define CHROME_BROWSER_SSL_ERROR_INFO_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/logging.h" | |
12 #include "net/base/x509_certificate.h" | 11 #include "net/base/x509_certificate.h" |
13 | 12 |
14 class GURL; | 13 class GURL; |
15 | 14 |
16 // This class describes an error that happened while showing a page over SSL. | 15 // This class describes an error that happened while showing a page over SSL. |
17 // An SSLErrorInfo object only exists on the UI thread and only contains | 16 // An SSLErrorInfo object only exists on the UI thread and only contains |
18 // information about an error (type of error and text details). | 17 // information about an error (type of error and text details). |
19 // Note no DISALLOW_EVIL_CONSTRUCTORS as we want the copy constructor. | 18 // Note no DISALLOW_EVIL_CONSTRUCTORS as we want the copy constructor. |
20 class SSLErrorInfo { | 19 class SSLErrorInfo { |
21 public: | 20 public: |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 72 |
74 std::wstring title_; | 73 std::wstring title_; |
75 std::wstring details_; | 74 std::wstring details_; |
76 std::wstring short_description_; | 75 std::wstring short_description_; |
77 // Extra-informations contains paragraphs of text explaining in details what | 76 // Extra-informations contains paragraphs of text explaining in details what |
78 // the error is and what the risks are. | 77 // the error is and what the risks are. |
79 std::vector<std::wstring> extra_information_; | 78 std::vector<std::wstring> extra_information_; |
80 }; | 79 }; |
81 | 80 |
82 #endif // CHROME_BROWSER_SSL_ERROR_INFO_H__ | 81 #endif // CHROME_BROWSER_SSL_ERROR_INFO_H__ |
OLD | NEW |