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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js

Issue 2668413003: DevTools: extract NetworkConditionsSelector into its own module (Closed)
Patch Set: rebaseline Created 3 years, 10 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/network/NetworkLogView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js
index 25bef3fb4f5be772a2bacbae24dc3da401c1e396..e4b472251a47a835ed2ad4274e4e5ef3ef347565 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js
@@ -973,7 +973,7 @@ Network.NetworkLogView = class extends UI.VBox {
var priority = request.initialPriority();
if (priority) {
this._suggestionBuilder.addItem(
- Network.NetworkLogView.FilterType.Priority, Components.uiLabelForPriority(priority));
+ Network.NetworkLogView.FilterType.Priority, NetworkConditions.uiLabelForPriority(priority));
}
if (request.mixedContentType !== 'none') {
@@ -1485,7 +1485,7 @@ Network.NetworkLogView = class extends UI.VBox {
return Network.NetworkLogView._requestSetCookieValueFilter.bind(null, value);
case Network.NetworkLogView.FilterType.Priority:
- return Network.NetworkLogView._requestPriorityFilter.bind(null, Components.uiLabelToPriority(value));
+ return Network.NetworkLogView._requestPriorityFilter.bind(null, NetworkConditions.uiLabelToPriority(value));
case Network.NetworkLogView.FilterType.StatusCode:
return Network.NetworkLogView._statusCodeFilter.bind(null, value);

Powered by Google App Engine
This is Rietveld 408576698