OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_SECURITY_INTERSTITIALS_CORE_SUPERFISH_ERROR_UI_H_ |
| 6 #define COMPONENTS_SECURITY_INTERSTITIALS_CORE_SUPERFISH_ERROR_UI_H_ |
| 7 |
| 8 #include "components/security_interstitials/core/ssl_error_ui.h" |
| 9 |
| 10 namespace security_interstitials { |
| 11 |
| 12 class ControllerClient; |
| 13 |
| 14 // A subclass of SSLErrorUI that customizes the error UI with instructions for |
| 15 // uninstalling the Superfish software. |
| 16 class SuperfishErrorUI : public SSLErrorUI { |
| 17 public: |
| 18 SuperfishErrorUI( |
| 19 const GURL& request_url, |
| 20 int cert_error, |
| 21 const net::SSLInfo& ssl_info, |
| 22 int display_options, // Bitmask of SSLErrorOptionsMask values. |
| 23 const base::Time& time_triggered, |
| 24 ControllerClient* controller); |
| 25 ~SuperfishErrorUI() override {} |
| 26 |
| 27 void PopulateStringsForHTML(base::DictionaryValue* load_time_data) override; |
| 28 void HandleCommand(SecurityInterstitialCommands command) override; |
| 29 |
| 30 private: |
| 31 DISALLOW_COPY_AND_ASSIGN(SuperfishErrorUI); |
| 32 }; |
| 33 |
| 34 } // namespace security_interstitials |
| 35 |
| 36 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_SUPERFISH_ERROR_UI_H_ |
OLD | NEW |