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

Unified Diff: content/public/browser/navigation_controller.h

Issue 10827146: crbug.com/127841 - Request Tablet Site on CB with touch screen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: use ReloadOriginalRequestURL instead of Reload; impl. review comments from sky Created 8 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: content/public/browser/navigation_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index a1bed25ed1a09ae810c7a95b36fb3041860f6cd5..4a1779f81b3366edbb40873d6fc00892df9a32f3 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -219,6 +219,11 @@ class NavigationController {
// Like Reload(), but don't use caches (aka "shift-reload").
virtual void ReloadIgnoringCache(bool check_for_repost) = 0;
+ // Reloads the current entry using the original URL used to create it. This
+ // is used for cases where the user wants to refresh a page using a different
+ // user agent after following a redirect.
+ virtual void ReloadOriginalRequestURL(bool check_for_repost) = 0;
+
// Removing of entries -------------------------------------------------------
// Removes the entry at the specified |index|. This call dicards any pending

Powered by Google App Engine
This is Rietveld 408576698