| Index: public/platform/WebURLRequest.h
|
| diff --git a/public/platform/WebURLRequest.h b/public/platform/WebURLRequest.h
|
| index 7d9e4dcda03fa69796189c4431bfee4229f30c29..0e65e80f99750704d611416bdc763a0dd5cb4178 100644
|
| --- a/public/platform/WebURLRequest.h
|
| +++ b/public/platform/WebURLRequest.h
|
| @@ -159,6 +159,10 @@ public:
|
|
|
| BLINK_PLATFORM_EXPORT WebReferrerPolicy referrerPolicy() const;
|
|
|
| + // Adds an HTTP origin header if it is empty and the HTTP method of the
|
| + // request requires it.
|
| + BLINK_PLATFORM_EXPORT void addHTTPOriginIfNeeded(const WebString& origin);
|
| +
|
| // True if the request was user initiated.
|
| BLINK_PLATFORM_EXPORT bool hasUserGesture() const;
|
| BLINK_PLATFORM_EXPORT void setHasUserGesture(bool);
|
|
|