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

Unified Diff: content/shell/browser/shell.cc

Issue 1905873002: Add content_browsertests for testing cache control flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove ResourceFetcher change temporarily, fix a nit of #19 Created 4 years, 7 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 | « content/shell/browser/shell.h ('k') | content/test/data/loader/empty16x16.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell.cc
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
index 8110174dc4ee7b47a86b8bd48d25512ffa4801ff..12b17d233816b996fa7ad6d6b6fd441af84f378c 100644
--- a/content/shell/browser/shell.cc
+++ b/content/shell/browser/shell.cc
@@ -264,6 +264,11 @@ void Shell::Reload() {
web_contents_->Focus();
}
+void Shell::ReloadBypassingCache() {
+ web_contents_->GetController().ReloadBypassingCache(false);
+ web_contents_->Focus();
+}
+
void Shell::Stop() {
web_contents_->Stop();
web_contents_->Focus();
« no previous file with comments | « content/shell/browser/shell.h ('k') | content/test/data/loader/empty16x16.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698