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

Unified Diff: chrome/browser/ssl/ssl_error_handler.h

Issue 2581903002: Add SSL error assistant component to dynamically update captive portal list (Closed)
Patch Set: nparker comments Created 3 years, 10 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
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/browser/ssl/ssl_error_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_error_handler.h
diff --git a/chrome/browser/ssl/ssl_error_handler.h b/chrome/browser/ssl/ssl_error_handler.h
index 80089d7378867ecdc054334e9500361a20118140..f0dc06b43adeac1ba7f45758bdf57d8c99c4b9b3 100644
--- a/chrome/browser/ssl/ssl_error_handler.h
+++ b/chrome/browser/ssl/ssl_error_handler.h
@@ -110,6 +110,12 @@ class SSLErrorHandler : public content::WebContentsUserData<SSLErrorHandler>,
const base::Callback<void(content::CertificateRequestResultType)>&
callback);
+ // Sets the binary proto for SSL error assistant. The binary proto
+ // can be downloaded by the component updater, or set by tests.
+ static void SetErrorAssistantProto(
+ std::unique_ptr<chrome_browser_ssl::SSLErrorAssistantConfig>
+ config_proto);
+
// Testing methods.
static void ResetConfigForTesting();
static void SetInterstitialDelayForTesting(const base::TimeDelta& delay);
@@ -119,8 +125,6 @@ class SSLErrorHandler : public content::WebContentsUserData<SSLErrorHandler>,
static void SetClockForTesting(base::Clock* testing_clock);
static void SetNetworkTimeTrackerForTesting(
network_time::NetworkTimeTracker* tracker);
- static void SetErrorAssistantProtoForTesting(
- const chrome_browser_ssl::SSLErrorAssistantConfig& config_proto);
static std::string GetHistogramNameForTesting();
static void SetErrorAssistantConfig(
std::unique_ptr<chrome_browser_ssl::SSLErrorAssistantConfig>
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/browser/ssl/ssl_error_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698