| Index: third_party/WebKit/Source/devtools/front_end/bindings/NetworkMapping.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/NetworkMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/NetworkMapping.js
|
| deleted file mode 100644
|
| index d87766cae4198b7fbf8b9f0c91281a553520706e..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/NetworkMapping.js
|
| +++ /dev/null
|
| @@ -1,78 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -/**
|
| - * @unrestricted
|
| - */
|
| -Bindings.NetworkMapping = class {
|
| - /**
|
| - * @param {!Workspace.Workspace} workspace
|
| - */
|
| - constructor(workspace) {
|
| - this._workspace = workspace;
|
| - }
|
| -
|
| - /**
|
| - * @param {!SDK.Target} target
|
| - * @param {?SDK.ResourceTreeFrame} frame
|
| - * @param {string} url
|
| - * @return {?Workspace.UISourceCode}
|
| - */
|
| - _networkUISourceCodeForURL(target, frame, url) {
|
| - return this._workspace.uiSourceCode(Bindings.NetworkProject.projectId(target, frame, false), url);
|
| - }
|
| -
|
| - /**
|
| - * @param {!SDK.Target} target
|
| - * @param {?SDK.ResourceTreeFrame} frame
|
| - * @param {string} url
|
| - * @return {?Workspace.UISourceCode}
|
| - */
|
| - _contentScriptUISourceCodeForURL(target, frame, url) {
|
| - return this._workspace.uiSourceCode(Bindings.NetworkProject.projectId(target, frame, true), url);
|
| - }
|
| -
|
| - /**
|
| - * @param {!SDK.Target} target
|
| - * @param {?SDK.ResourceTreeFrame} frame
|
| - * @param {string} url
|
| - * @return {?Workspace.UISourceCode}
|
| - */
|
| - _uiSourceCodeForURL(target, frame, url) {
|
| - return this._networkUISourceCodeForURL(target, frame, url) ||
|
| - this._contentScriptUISourceCodeForURL(target, frame, url);
|
| - }
|
| -
|
| - /**
|
| - * @param {string} url
|
| - * @param {!SDK.Script} script
|
| - * @return {?Workspace.UISourceCode}
|
| - */
|
| - uiSourceCodeForScriptURL(url, script) {
|
| - var frame = SDK.ResourceTreeFrame.fromScript(script);
|
| - return this._uiSourceCodeForURL(script.target(), frame, url);
|
| - }
|
| -
|
| - /**
|
| - * @param {string} url
|
| - * @param {!SDK.CSSStyleSheetHeader} header
|
| - * @return {?Workspace.UISourceCode}
|
| - */
|
| - uiSourceCodeForStyleURL(url, header) {
|
| - var frame = SDK.ResourceTreeFrame.fromStyleSheet(header);
|
| - return this._uiSourceCodeForURL(header.target(), frame, url);
|
| - }
|
| -
|
| - /**
|
| - * @param {string} url
|
| - * @return {?Workspace.UISourceCode}
|
| - */
|
| - uiSourceCodeForURLForAnyTarget(url) {
|
| - return Workspace.workspace.uiSourceCodeForURL(url);
|
| - }
|
| -};
|
| -
|
| -/**
|
| - * @type {!Bindings.NetworkMapping}
|
| - */
|
| -Bindings.networkMapping;
|
|
|