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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js

Issue 2628693002: [Devtools] Move initiator data into NetworkLog from NetworkRequest (Closed)
Patch Set: changes Created 3 years, 11 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: third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js b/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
index 817457db936adab27d71bf4b99769109cb20b763..0051abfa8754b22858ab80e75a753b1fa88c701e 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/HAREntry.js
@@ -73,7 +73,7 @@ SDK.HAREntry = class {
if (this._request.connectionId !== '0')
entry.connection = this._request.connectionId;
- var page = this._request.networkLog().pageLoadForRequest(this._request);
+ var page = SDK.NetworkLog.pageLoadForRequest(this._request);
if (page)
entry.pageref = 'page_' + page.id;
return entry;
@@ -305,7 +305,7 @@ SDK.HARLog = class {
var pages = [];
for (var i = 0; i < this._requests.length; ++i) {
var request = this._requests[i];
- var page = request.networkLog().pageLoadForRequest(request);
+ var page = SDK.NetworkLog.pageLoadForRequest(request);
if (!page || seenIdentifiers[page.id])
continue;
seenIdentifiers[page.id] = true;

Powered by Google App Engine
This is Rietveld 408576698