| Index: chrome/browser/ssl/ssl_error_info.h
|
| ===================================================================
|
| --- chrome/browser/ssl/ssl_error_info.h (revision 70233)
|
| +++ chrome/browser/ssl/ssl_error_info.h (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "base/string16.h"
|
| #include "net/base/x509_certificate.h"
|
|
|
| class GURL;
|
| @@ -51,32 +52,32 @@
|
| std::vector<SSLErrorInfo>* errors);
|
|
|
| // A title describing the error, usually to be used with the details below.
|
| - const std::wstring& title() const { return title_; }
|
| + const string16& title() const { return title_; }
|
|
|
| // A description of the error.
|
| - const std::wstring& details() const { return details_; }
|
| + const string16& details() const { return details_; }
|
|
|
| // A short message describing the error (1 line).
|
| - const std::wstring& short_description() const { return short_description_; }
|
| + const string16& short_description() const { return short_description_; }
|
|
|
| // A lengthy explanation of what the error is. Each entry in the returned
|
| // vector is a paragraph.
|
| - const std::vector<std::wstring>& extra_information() const {
|
| + const std::vector<string16>& extra_information() const {
|
| return extra_information_;
|
| }
|
|
|
| private:
|
| - SSLErrorInfo(const std::wstring& title,
|
| - const std::wstring& details,
|
| - const std::wstring& short_description,
|
| - const std::vector<std::wstring>& extra_info);
|
| + SSLErrorInfo(const string16& title,
|
| + const string16& details,
|
| + const string16& short_description,
|
| + const std::vector<string16>& extra_info);
|
|
|
| - std::wstring title_;
|
| - std::wstring details_;
|
| - std::wstring short_description_;
|
| + string16 title_;
|
| + string16 details_;
|
| + string16 short_description_;
|
| // Extra-informations contains paragraphs of text explaining in details what
|
| // the error is and what the risks are.
|
| - std::vector<std::wstring> extra_information_;
|
| + std::vector<string16> extra_information_;
|
| };
|
|
|
| #endif // CHROME_BROWSER_SSL_SSL_ERROR_INFO_H_
|
|
|