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

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 1854053002: Rename |ignore_cache| to |bypass_cache| (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [rebase] Created 4 years, 8 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
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/renderer/net/net_error_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 2cad2c4f56fdbb6911af7eed8b8dc342b9db2eee..e2bd5ce56ce78e40c54b0a6a1fc5eaca0b3e44b7 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -214,7 +214,7 @@ WebContents* GetTabAndRevertIfNecessary(Browser* browser,
void ReloadInternal(Browser* browser,
WindowOpenDisposition disposition,
- bool ignore_cache) {
+ bool bypass_cache) {
// As this is caused by a user action, give the focus to the page.
//
// Also notify RenderViewHostDelegate of the user gesture; this is
@@ -226,10 +226,10 @@ void ReloadInternal(Browser* browser,
DevToolsWindow* devtools =
DevToolsWindow::GetInstanceForInspectedWebContents(new_tab);
- if (devtools && devtools->ReloadInspectedWebContents(ignore_cache))
+ if (devtools && devtools->ReloadInspectedWebContents(bypass_cache))
return;
- if (ignore_cache)
+ if (bypass_cache)
new_tab->GetController().ReloadBypassingCache(true);
else
new_tab->GetController().Reload(true);
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/renderer/net/net_error_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698