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

Unified Diff: chrome/browser/ui/webui/extensions/extension_loader_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/ui/webui/extensions/extension_loader_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_loader_handler.cc b/chrome/browser/ui/webui/extensions/extension_loader_handler.cc
index 7d86b4b09349d4d83fb6356faf40c22a73908a74..55bfe743371ab1be6f7150e86a060d77fa1bebfa 100644
--- a/chrome/browser/ui/webui/extensions/extension_loader_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_loader_handler.cc
@@ -171,12 +171,12 @@ void ExtensionLoaderHandler::OnLoadFailure(
void ExtensionLoaderHandler::DidStartNavigationToPendingEntry(
const GURL& url,
- content::NavigationController::ReloadType reload_type) {
+ content::ReloadType reload_type) {
// In the event of a page reload, we ensure that the frontend is not notified
// until the UI finishes loading, so we set |ui_ready_| to false. This is
// balanced in HandleDisplayFailures, which is called when the frontend is
// ready to receive failure notifications.
- if (reload_type != content::NavigationController::NO_RELOAD)
+ if (reload_type != content::ReloadType::NONE)
ui_ready_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698