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

Side by Side Diff: chrome/browser/ssl/ssl_blocking_page.h

Issue 1481213003: Componentize the bad clock blocking page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change for pkasting Created 5 years 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
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_SSL_SSL_BLOCKING_PAGE_H_ 5 #ifndef CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_
6 #define CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ 6 #define CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void CommandReceived(const std::string& command) override; 87 void CommandReceived(const std::string& command) override;
88 void OverrideEntry(content::NavigationEntry* entry) override; 88 void OverrideEntry(content::NavigationEntry* entry) override;
89 void OverrideRendererPrefs(content::RendererPreferences* prefs) override; 89 void OverrideRendererPrefs(content::RendererPreferences* prefs) override;
90 void OnProceed() override; 90 void OnProceed() override;
91 void OnDontProceed() override; 91 void OnDontProceed() override;
92 92
93 // SecurityInterstitialPage implementation: 93 // SecurityInterstitialPage implementation:
94 bool ShouldCreateNewNavigation() const override; 94 bool ShouldCreateNewNavigation() const override;
95 void PopulateInterstitialStrings( 95 void PopulateInterstitialStrings(
96 base::DictionaryValue* load_time_data) override; 96 base::DictionaryValue* load_time_data) override;
97 void AfterShow() override {}
97 98
98 private: 99 private:
99 void NotifyDenyCertificate(); 100 void NotifyDenyCertificate();
100 void NotifyAllowCertificate(); 101 void NotifyAllowCertificate();
101 102
102 std::string GetUmaHistogramPrefix() const; 103 std::string GetUmaHistogramPrefix() const;
103 std::string GetSamplingEventName() const; 104 std::string GetSamplingEventName() const;
104 105
105 base::Callback<void(bool)> callback_; 106 base::Callback<void(bool)> callback_;
106 107
(...skipping 17 matching lines...) Expand all
124 // The time at which the interstitial was triggered. The interstitial 125 // The time at which the interstitial was triggered. The interstitial
125 // calculates all times relative to this. 126 // calculates all times relative to this.
126 const base::Time time_triggered_; 127 const base::Time time_triggered_;
127 128
128 scoped_ptr<CertReportHelper> cert_report_helper_; 129 scoped_ptr<CertReportHelper> cert_report_helper_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); 131 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage);
131 }; 132 };
132 133
133 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ 134 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ssl/captive_portal_blocking_page.h ('k') | components/security_interstitials.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698