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

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

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+ Created 4 years, 4 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: chrome/browser/ssl/ssl_error_handler.cc
diff --git a/chrome/browser/ssl/ssl_error_handler.cc b/chrome/browser/ssl/ssl_error_handler.cc
index 1f2245178c76fdfbc86c9d95970aedfa6d0c717c..b5e50aa0b68d6455cff12b276c2fb6999821d06a 100644
--- a/chrome/browser/ssl/ssl_error_handler.cc
+++ b/chrome/browser/ssl/ssl_error_handler.cc
@@ -394,10 +394,10 @@ void SSLErrorHandler::Observe(
void SSLErrorHandler::DidStartNavigationToPendingEntry(
const GURL& /* url */,
- content::NavigationController::ReloadType /* reload_type */) {
-// Destroy the error handler on all new navigations. This ensures that the
-// handler is properly recreated when a hanging page is navigated to an SSL
-// error, even when the tab's WebContents doesn't change.
+ content::ReloadType /* reload_type */) {
+ // Destroy the error handler on all new navigations. This ensures that the
+ // handler is properly recreated when a hanging page is navigated to an SSL
+ // error, even when the tab's WebContents doesn't change.
DeleteSSLErrorHandler();
}

Powered by Google App Engine
This is Rietveld 408576698