Index: content/browser/loader/resource_dispatcher_host_impl.h |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h |
index 646fc2a3d940b313a2df00e41eee4180844df300..2b2d256c7584cafa817fbfb77fcd602ff32d2473 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.h |
+++ b/content/browser/loader/resource_dispatcher_host_impl.h |
@@ -70,7 +70,6 @@ class ResourceMessageFilter; |
class ResourceRequestInfoImpl; |
class SaveFileManager; |
class ServiceWorkerNavigationHandleCore; |
-class WebContentsImpl; |
struct CommonNavigationParams; |
struct DownloadSaveInfo; |
struct NavigationRequestInfo; |
@@ -217,7 +216,7 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl |
// Force cancels any pending requests for the given process. |
void CancelRequestsForProcess(int child_id); |
- void OnUserGesture(WebContentsImpl* contents); |
+ void OnUserGesture(); |
// Retrieves a net::URLRequest. Must be called from the IO thread. |
net::URLRequest* GetURLRequest(const GlobalRequestID& request_id); |
@@ -307,6 +306,8 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl |
// or experiment status. For unit tests only. |
void EnableStaleWhileRevalidateForTesting(); |
+ // Sets the LoaderDelegate, which must outlive this object. Ownership is not |
+ // transferred. The LoaderDelegate should be interacted with on the IO thread. |
void SetLoaderDelegate(LoaderDelegate* loader_delegate); |
private: |