| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "chrome/browser/ui/website_settings/website_settings.h" | 12 #include "chrome/browser/ui/website_settings/website_settings.h" |
| 13 #include "components/content_settings/core/common/content_settings.h" | 13 #include "components/content_settings/core/common/content_settings.h" |
| 14 #include "components/content_settings/core/common/content_settings_types.h" | 14 #include "components/content_settings/core/common/content_settings_types.h" |
| 15 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" | |
| 16 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
| 17 | 16 |
| 18 | 17 |
| 19 class GURL; | 18 class GURL; |
| 20 class Profile; | 19 class Profile; |
| 21 class WebsiteSettings; | 20 class WebsiteSettings; |
| 22 namespace content { | 21 namespace content { |
| 23 struct SSLStatus; | 22 struct SSLStatus; |
| 24 } | 23 } |
| 25 | 24 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 std::string site_identity; | 81 std::string site_identity; |
| 83 // Status of the site's identity. | 82 // Status of the site's identity. |
| 84 WebsiteSettings::SiteIdentityStatus identity_status; | 83 WebsiteSettings::SiteIdentityStatus identity_status; |
| 85 // Helper to get the status text to display to the user. | 84 // Helper to get the status text to display to the user. |
| 86 base::string16 GetIdentityStatusText() const; | 85 base::string16 GetIdentityStatusText() const; |
| 87 // Textual description of the site's identity status that is displayed to | 86 // Textual description of the site's identity status that is displayed to |
| 88 // the user. | 87 // the user. |
| 89 std::string identity_status_description; | 88 std::string identity_status_description; |
| 90 // The ID is the server certificate of a secure connection or 0. | 89 // The ID is the server certificate of a secure connection or 0. |
| 91 int cert_id; | 90 int cert_id; |
| 92 // Signed Certificate Timestamp ids and status | |
| 93 content::SignedCertificateTimestampIDStatusList | |
| 94 signed_certificate_timestamp_ids; | |
| 95 // Status of the site's connection. | 91 // Status of the site's connection. |
| 96 WebsiteSettings::SiteConnectionStatus connection_status; | 92 WebsiteSettings::SiteConnectionStatus connection_status; |
| 97 // Textual description of the site's connection status that is displayed to | 93 // Textual description of the site's connection status that is displayed to |
| 98 // the user. | 94 // the user. |
| 99 std::string connection_status_description; | 95 std::string connection_status_description; |
| 100 // Set when the user has explicitly bypassed an SSL error for this host and | 96 // Set when the user has explicitly bypassed an SSL error for this host and |
| 101 // has a flag set to remember ssl decisions (explicit flag or in the | 97 // has a flag set to remember ssl decisions (explicit flag or in the |
| 102 // experimental group). When |show_ssl_decision_revoke_button| is true, the | 98 // experimental group). When |show_ssl_decision_revoke_button| is true, the |
| 103 // connection area of the page info will include an option for the user to | 99 // connection area of the page info will include an option for the user to |
| 104 // revoke their decision to bypass the SSL error for this host. | 100 // revoke their decision to bypass the SSL error for this host. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 virtual void SetFirstVisit(const base::string16& first_visit) = 0; | 168 virtual void SetFirstVisit(const base::string16& first_visit) = 0; |
| 173 | 169 |
| 174 // Selects the tab with the given |tab_id|. | 170 // Selects the tab with the given |tab_id|. |
| 175 virtual void SetSelectedTab(TabId tab_id) = 0; | 171 virtual void SetSelectedTab(TabId tab_id) = 0; |
| 176 }; | 172 }; |
| 177 | 173 |
| 178 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; | 174 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; |
| 179 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; | 175 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; |
| 180 | 176 |
| 181 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 177 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
| OLD | NEW |