Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1897)

Unified Diff: Source/devtools/blink/chromeServerProfile/Default/Cache/f_000049

Issue 242263007: Add <label> to items in Event Listener Breakpoint of Chrome Dev Tools Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/blink/chromeServerProfile/Default/Cache/f_000049
diff --git a/Source/devtools/front_end/NetworkRequest.js b/Source/devtools/blink/chromeServerProfile/Default/Cache/f_000049
similarity index 98%
copy from Source/devtools/front_end/NetworkRequest.js
copy to Source/devtools/blink/chromeServerProfile/Default/Cache/f_000049
index b6fb0f30523d79da6cec3f2f1c6c9e46bfc72454..9de3eaa15b5df2ed0092493ff917e221a23c1212 100644
--- a/Source/devtools/front_end/NetworkRequest.js
+++ b/Source/devtools/blink/chromeServerProfile/Default/Cache/f_000049
@@ -30,19 +30,16 @@
/**
* @constructor
- * @extends {WebInspector.TargetAwareObject}
+ * @extends {WebInspector.Object}
* @implements {WebInspector.ContentProvider}
* @param {!NetworkAgent.RequestId} requestId
- * @param {!WebInspector.Target} target
* @param {string} url
* @param {string} documentURL
* @param {!PageAgent.FrameId} frameId
* @param {!NetworkAgent.LoaderId} loaderId
*/
-WebInspector.NetworkRequest = function(target, requestId, url, documentURL, frameId, loaderId)
+WebInspector.NetworkRequest = function(requestId, url, documentURL, frameId, loaderId)
{
- WebInspector.TargetAwareObject.call(this, target);
-
this._requestId = requestId;
this.url = url;
this._documentURL = documentURL;
@@ -409,7 +406,7 @@ WebInspector.NetworkRequest.prototype = {
this._path = "";
} else {
this._path = this._parsedURL.host + this._parsedURL.folderPathComponents;
- this._path = this._path.trimURL(this.target().resourceTreeModel.inspectedPageDomain());
+ this._path = this._path.trimURL(WebInspector.resourceTreeModel.inspectedPageDomain());
if (this._parsedURL.lastPathComponent || this._parsedURL.queryParams)
this._name = this._parsedURL.lastPathComponent + (this._parsedURL.queryParams ? "?" + this._parsedURL.queryParams : "");
else if (this._parsedURL.folderPathComponents) {
@@ -979,5 +976,5 @@ WebInspector.NetworkRequest.prototype = {
this._frames.push(frameOrError);
},
- __proto__: WebInspector.TargetAwareObject.prototype
+ __proto__: WebInspector.Object.prototype
}

Powered by Google App Engine
This is Rietveld 408576698