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

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

Issue 2501343003: PlzNavigate: AppCache support. (Closed)
Patch Set: Fix content_browsertests rednesss 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
Index: content/browser/appcache/appcache_interceptor.h
diff --git a/content/browser/appcache/appcache_interceptor.h b/content/browser/appcache/appcache_interceptor.h
index 40581f209721f209b5c5cb02ef6d4b4abf001821..a650addfc9130f00b8d21245cbdc08512c51906a 100644
--- a/content/browser/appcache/appcache_interceptor.h
+++ b/content/browser/appcache/appcache_interceptor.h
@@ -19,6 +19,7 @@ class URLRequest;
}
namespace content {
+class AppCacheHost;
class AppCacheRequestHandler;
class AppCacheServiceImpl;
class ResourceRequesterInfo;
@@ -35,6 +36,13 @@ class CONTENT_EXPORT AppCacheInterceptor : public net::URLRequestInterceptor {
ResourceType resource_type,
bool should_reset_appcache);
+ // PlzNavigate
+ // Must be called to make a request eligible for retrieval from an appcache.
+ static void SetExtraRequestInfoForHost(net::URLRequest* request,
+ AppCacheHost* host,
+ ResourceType resource_type,
+ bool should_reset_appcache);
+
// May be called after response headers are complete to retrieve extra
// info about the response.
static void GetExtraResponseInfo(net::URLRequest* request,

Powered by Google App Engine
This is Rietveld 408576698