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

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, 3 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 94768b689f5ba1c0c6935481c4683ec109749c20..74907fd0783bd77654ab4ca6f2c3db30a443ace7 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();
}
« no previous file with comments | « chrome/browser/ssl/ssl_error_handler.h ('k') | chrome/browser/ui/android/tab_model/android_live_tab_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698