Chromium Code Reviews| 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 6c86846547ec28c6c1aa714079676c1e3f21cbaa..00be9c7ceb9c6ad21123bd46ddc180f11bf6e11b 100644 |
| --- a/content/public/browser/resource_request_info.h |
| +++ b/content/public/browser/resource_request_info.h |
| @@ -98,6 +98,13 @@ class ResourceRequestInfo { |
| // True if the request was initiated by a user action (like a tap to follow |
| // a link). |
| + // |
| + // Note that a false value does not mean the request was not initiated by a |
| + // user gesture. Also note that the fact that a user gesture was active |
| + // while the request was created does not imply that the user consciously |
| + // wanted this request to happen nor is aware of it. |
| + // |
| + // DO NOT BASE SECURITY DECISIONS ON THIS FLAG! |
|
mkosiba (inactive)
2014/10/17 08:54:33
Yes, you should be especially wary of using this t
Randy Smith (Not in Mondays)
2014/10/20 14:20:46
We'd welcome other other suggestions as to how to
|
| virtual bool HasUserGesture() const = 0; |
| // True if ResourceController::CancelAndIgnore() was called. For example, |