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

Unified Diff: content/browser/frame_host/navigation_controller_android.cc

Issue 2561983002: NavigationController: Reload methods migration (Closed)
Patch Set: android build fix Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigation_controller_android.cc
diff --git a/content/browser/frame_host/navigation_controller_android.cc b/content/browser/frame_host/navigation_controller_android.cc
index 88643f4840cc31cc8a6cb2408ce0b8b585bbff8d..439eb8bdb9f6eaae7e0d1a7e2d120aa68a02fc92 100644
--- a/content/browser/frame_host/navigation_controller_android.cc
+++ b/content/browser/frame_host/navigation_controller_android.cc
@@ -154,7 +154,7 @@ void NavigationControllerAndroid::ReloadBypassingCache(
JNIEnv* env,
const JavaParamRef<jobject>& obj,
jboolean check_for_repost) {
- navigation_controller_->ReloadBypassingCache(check_for_repost);
+ navigation_controller_->Reload(check_for_repost, ReloadType::BYPASSING_CACHE);
}
void NavigationControllerAndroid::RequestRestoreLoad(
@@ -340,7 +340,7 @@ void NavigationControllerAndroid::SetUseDesktopUserAgent(
if (reload_on_state_change) {
// Reloading the page will send the override down as part of the
// navigation IPC message.
- navigation_controller_->ReloadOriginalRequestURL(false);
+ navigation_controller_->Reload(false, ReloadType::ORIGINAL_REQUEST_URL);
}
}

Powered by Google App Engine
This is Rietveld 408576698