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

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

Issue 2561983002: NavigationController: Reload methods migration (Closed)
Patch Set: merge master 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
« no previous file with comments | « content/public/browser/navigation_controller.h ('k') | content/public/test/test_renderer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/reload_type.h
diff --git a/content/public/browser/reload_type.h b/content/public/browser/reload_type.h
index b7695eeba6a3c1c8ad1deae3279245030fb84c38..74f33c18ba1d73b1eb3aaf2115e8f29cad25c8b7 100644
--- a/content/public/browser/reload_type.h
+++ b/content/public/browser/reload_type.h
@@ -11,11 +11,18 @@ namespace content {
// general, but behaviors depend on context. If NONE is used for tab restore, or
// history navigation, it loads preferring cache (which may be stale).
enum class ReloadType {
- NONE, // Normal load, restore, or history navigation.
- NORMAL, // Reload validating only the main resource.
- BYPASSING_CACHE, // Reload bypassing the cache (shift-reload).
- ORIGINAL_REQUEST_URL, // Reload using the original request URL.
- DISABLE_LOFI_MODE // Reload with Lo-Fi mode disabled.
+ // Normal load, restore, or history navigation.
+ NONE,
+ // Reloads the current entry validating only the main resource.
+ NORMAL,
+ // Reloads the current entry bypassing the cache (shift-reload).
+ BYPASSING_CACHE,
+ // 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.
+ ORIGINAL_REQUEST_URL,
+ // Reloads the current entry with Lo-Fi mode disabled.
+ DISABLE_LOFI_MODE
};
} // namespace content
« no previous file with comments | « content/public/browser/navigation_controller.h ('k') | content/public/test/test_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698