Index: content/public/browser/resource_request_info.h |
diff --git a/content/public/browser/resource_request_info.h b/content/public/browser/resource_request_info.h |
index b6a73df1dc219a20e86a27af0268b6a316f57a1d..debb1c2c561195f60ad9570e48767dd81f1dadc8 100644 |
--- a/content/public/browser/resource_request_info.h |
+++ b/content/public/browser/resource_request_info.h |
@@ -32,7 +32,9 @@ class ResourceRequestInfo { |
CONTENT_EXPORT static void AllocateForTesting( |
net::URLRequest* request, |
ResourceType::Type resource_type, |
- ResourceContext* context); |
+ ResourceContext* context, |
+ int render_process_id, |
+ int render_view_id); |
// Returns the associated RenderView for a given process. Returns false, if |
// there is no associated RenderView. This method does not rely on the |
@@ -83,6 +85,10 @@ class ResourceRequestInfo { |
// is no upload, this will be 0. |
virtual uint64 GetUploadSize() const = 0; |
+ // True if the request was initiated by a user action (like a tap to follow |
+ // a link). |
+ virtual bool HasUserGesture() const = 0; |
+ |
// Returns false if there is NOT an associated render view. |
virtual bool GetAssociatedRenderView(int* render_process_id, |
int* render_view_id) const = 0; |