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

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

Issue 2481093003: Introduce ResourceRequesterInfo to abstract the requester of resource request (Closed)
Patch Set: fix unittests Created 4 years, 1 month 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 9d1abc31b6abb1752e4770a6af551caae0934abc..2bf7a99d3d8d9cbe5c3eb3df07d7c3447edf5c84 100644
--- a/content/browser/appcache/appcache_interceptor.h
+++ b/content/browser/appcache/appcache_interceptor.h
@@ -21,7 +21,7 @@ class URLRequest;
namespace content {
class AppCacheRequestHandler;
class AppCacheServiceImpl;
-class ResourceMessageFilter;
+class ResourceRequesterInfo;
// An interceptor to hijack requests and potentially service them out of
// the appcache.
@@ -44,10 +44,11 @@ class CONTENT_EXPORT AppCacheInterceptor : public net::URLRequestInterceptor {
// Methods to support cross site navigations.
static void PrepareForCrossSiteTransfer(net::URLRequest* request,
int old_process_id);
- static void CompleteCrossSiteTransfer(net::URLRequest* request,
- int new_process_id,
- int new_host_id,
- ResourceMessageFilter* filter);
+ static void CompleteCrossSiteTransfer(
+ net::URLRequest* request,
+ int new_process_id,
+ int new_host_id,
+ const ResourceRequesterInfo* requester_info);
static void MaybeCompleteCrossSiteTransferInOldProcess(
net::URLRequest* request,
int old_process_id);

Powered by Google App Engine
This is Rietveld 408576698