| Index: chrome/browser/renderer_host/resource_dispatcher_host_request_info.h
|
| diff --git a/chrome/browser/renderer_host/resource_dispatcher_host_request_info.h b/chrome/browser/renderer_host/resource_dispatcher_host_request_info.h
|
| index 9d5e386c450e3dd604c69b7f7299c42c41699e70..3714e0a900c8b439711ff3960456cc90c263a07a 100644
|
| --- a/chrome/browser/renderer_host/resource_dispatcher_host_request_info.h
|
| +++ b/chrome/browser/renderer_host/resource_dispatcher_host_request_info.h
|
| @@ -42,6 +42,7 @@ class ResourceDispatcherHostRequestInfo : public URLRequest::UserData {
|
| uint64 upload_size,
|
| bool is_download,
|
| bool allow_download,
|
| + bool has_user_gesture,
|
| int host_renderer_id,
|
| int host_render_view_id);
|
| virtual ~ResourceDispatcherHostRequestInfo();
|
| @@ -95,6 +96,8 @@ class ResourceDispatcherHostRequestInfo : public URLRequest::UserData {
|
| // Downloads are allowed only as a top level request.
|
| bool allow_download() const { return allow_download_; }
|
|
|
| + bool has_user_gesture() const { return has_user_gesture_; }
|
| +
|
| // Whether this is a download.
|
| bool is_download() const { return is_download_; }
|
| void set_is_download(bool download) { is_download_ = download; }
|
| @@ -214,6 +217,7 @@ class ResourceDispatcherHostRequestInfo : public URLRequest::UserData {
|
| int pending_data_count_;
|
| bool is_download_;
|
| bool allow_download_;
|
| + bool has_user_gesture_;
|
| int pause_count_;
|
| std::string frame_origin_;
|
| std::string main_frame_origin_;
|
|
|