| Index: third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js b/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js
|
| index 4dbbcc9b8a5162f39d6c7b8b734cbeaf445ac20f..73c7946d004ad03a1637b7d5991553b5fb0cfdb8 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js
|
| @@ -85,6 +85,9 @@ SDK.NetworkRequest = class extends SDK.SDKObject {
|
|
|
| this._remoteAddress = '';
|
|
|
| + /** @type {?Protocol.Network.RequestReferrerPolicy} */
|
| + this._referrerPolicy = null;
|
| +
|
| /** @type {!Protocol.Security.SecurityState} */
|
| this._securityState = Protocol.Security.SecurityState.Unknown;
|
| /** @type {?Protocol.Network.SecurityDetails} */
|
| @@ -184,6 +187,20 @@ SDK.NetworkRequest = class extends SDK.SDKObject {
|
| }
|
|
|
| /**
|
| + * @param {!Protocol.Network.RequestReferrerPolicy} referrerPolicy
|
| + */
|
| + setReferrerPolicy(referrerPolicy) {
|
| + this._referrerPolicy = referrerPolicy;
|
| + }
|
| +
|
| + /**
|
| + * @return {?Protocol.Network.RequestReferrerPolicy}
|
| + */
|
| + referrerPolicy() {
|
| + return this._referrerPolicy;
|
| + }
|
| +
|
| + /**
|
| * @return {!Protocol.Security.SecurityState}
|
| */
|
| securityState() {
|
|
|