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

Unified Diff: sky/engine/platform/fetcher/MojoFetcher.cpp

Issue 951063003: Bypass the cache from sky MojoFetcher (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/fetcher/MojoFetcher.cpp
diff --git a/sky/engine/platform/fetcher/MojoFetcher.cpp b/sky/engine/platform/fetcher/MojoFetcher.cpp
index cce46d003f5a381f5e682ba09f420e4b592b8db8..9fd05b74ddcd195f6f7fc63a7caa53949187bc45 100644
--- a/sky/engine/platform/fetcher/MojoFetcher.cpp
+++ b/sky/engine/platform/fetcher/MojoFetcher.cpp
@@ -23,6 +23,9 @@ MojoFetcher::MojoFetcher(Client* client, const KURL& url)
mojo::URLRequestPtr url_request = mojo::URLRequest::New();
url_request->url = url.string().toUTF8();
url_request->auto_follow_redirects = true;
+ // TODO(rafaelw): Bypass the cache until we can figure out why modified
+ // resources aren't updating within sky.
+ url_request->bypass_cache = true;
url_loader_->Start(url_request.Pass(),
base::Bind(&MojoFetcher::OnReceivedResponse,
weak_factory_.GetWeakPtr()));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698