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

Unified Diff: components/security_interstitials/core/ssl_error_ui.h

Issue 2949003003: Implement a skeleton of the Superfish interstitial (Closed)
Patch Set: meacer comments Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: components/security_interstitials/core/ssl_error_ui.h
diff --git a/components/security_interstitials/core/ssl_error_ui.h b/components/security_interstitials/core/ssl_error_ui.h
index d18127bb1a3ec9bd6af95ed357c9d6fcb6d81b9d..23406f963211eb0217cab910b3c7ffa1310bf13d 100644
--- a/components/security_interstitials/core/ssl_error_ui.h
+++ b/components/security_interstitials/core/ssl_error_ui.h
@@ -45,10 +45,15 @@ class SSLErrorUI {
int display_options, // Bitmask of SSLErrorOptionsMask values.
const base::Time& time_triggered,
ControllerClient* controller);
- ~SSLErrorUI();
+ virtual ~SSLErrorUI();
meacer 2017/06/22 22:35:37 Interesting, I thought this was already a base cla
estark 2017/06/22 23:17:48 Sure, I could do that as a follow-up. This is all
- void PopulateStringsForHTML(base::DictionaryValue* load_time_data);
- void HandleCommand(SecurityInterstitialCommands command);
+ virtual void PopulateStringsForHTML(base::DictionaryValue* load_time_data);
+ virtual void HandleCommand(SecurityInterstitialCommands command);
+
+ protected:
+ const net::SSLInfo& ssl_info() const;
+ const base::Time& time_triggered() const;
+ ControllerClient* controller() const;
private:
void PopulateOverridableStrings(base::DictionaryValue* load_time_data);

Powered by Google App Engine
This is Rietveld 408576698