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

Side by Side Diff: components/security_interstitials/core/superfish_error_ui.h

Issue 2949003003: Implement a skeleton of the Superfish interstitial (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698