Index: Source/devtools/front_end/sdk/NetworkRequest.js |
diff --git a/Source/devtools/front_end/sdk/NetworkRequest.js b/Source/devtools/front_end/sdk/NetworkRequest.js |
index e59c14fc2a92043dc6e59aed6b41558bd7135a79..ab52b6af9c9213458e39d5a9c5b7abb166c0320c 100644 |
--- a/Source/devtools/front_end/sdk/NetworkRequest.js |
+++ b/Source/devtools/front_end/sdk/NetworkRequest.js |
@@ -61,6 +61,9 @@ WebInspector.NetworkRequest = function(target, requestId, url, documentURL, fram |
this.requestTime = 0; |
this.protocol = ""; |
+ /** @type {?NetworkAgent.ResourcePriority} */ |
+ this._initialPriority = null; |
+ |
/** @type {!WebInspector.ResourceType} */ |
this._resourceType = WebInspector.resourceTypes.Other; |
this._contentEncoded = false; |
@@ -935,6 +938,22 @@ WebInspector.NetworkRequest.prototype = { |
}, |
/** |
+ * @param {!NetworkAgent.ResourcePriority} priority |
+ */ |
+ setInitialPriority: function(priority) |
+ { |
+ this._initialPriority = priority; |
+ }, |
+ |
+ /** |
+ * @return {?NetworkAgent.ResourcePriority} |
+ */ |
+ initialPriority: function() |
+ { |
+ return this._initialPriority; |
+ }, |
+ |
+ /** |
* @param {!Element} image |
*/ |
populateImageSource: function(image) |