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

Unified Diff: content/browser/appcache/appcache_interceptor.cc

Issue 2642733002: Prerender: Disable prefetch if there's an appcache. (Closed)
Patch Set: Use appcache id rather than existence of tags in main resource Created 3 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
Index: content/browser/appcache/appcache_interceptor.cc
diff --git a/content/browser/appcache/appcache_interceptor.cc b/content/browser/appcache/appcache_interceptor.cc
index 8b916091dc7fcd9b23c5d6013c26e06eee851078..808b0704cb5aebbb3ba535d335d1d6dfbaef57e7 100644
--- a/content/browser/appcache/appcache_interceptor.cc
+++ b/content/browser/appcache/appcache_interceptor.cc
@@ -27,7 +27,7 @@ void AppCacheInterceptor::SetHandler(net::URLRequest* request,
}
AppCacheRequestHandler* AppCacheInterceptor::GetHandler(
- net::URLRequest* request) {
+ const net::URLRequest* request) {
return static_cast<AppCacheRequestHandler*>(
request->GetUserData(&kHandlerKey));
}

Powered by Google App Engine
This is Rietveld 408576698