| Index: chrome/browser/renderer_host/resource_dispatcher_host_request_info.h
|
| ===================================================================
|
| --- chrome/browser/renderer_host/resource_dispatcher_host_request_info.h (revision 68377)
|
| +++ chrome/browser/renderer_host/resource_dispatcher_host_request_info.h (working copy)
|
| @@ -42,6 +42,7 @@
|
| 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 @@
|
| // 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 @@
|
| 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_;
|
|
|