Remove unused global exports from common-legacy.js

R=aerotwist@chromium.org

Bug: 1064958
Change-Id: I33028a71ca0c47562985774c95f34e8292be2604
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2122143
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
This commit is contained in:
Tim van der Lippe
2020-03-27 12:37:21 +00:00
committed by Commit Bot
parent d1b1b5fac5
commit 08bbaec4c3
2 changed files with 0 additions and 81 deletions
-75
View File
@@ -17,29 +17,16 @@ Common.App = CommonModule.App.App;
*/
Common.AppProvider = CommonModule.AppProvider.AppProvider;
/**
* @constructor
*/
Common.CharacterIdMap = CommonModule.CharacterIdMap.CharacterIdMap;
/**
* @constructor
*/
Common.Color = CommonModule.Color.Color;
Common.Color.Regex = CommonModule.Color.Regex;
/**
* @enum {string}
*/
Common.Color.Format = CommonModule.Color.Format;
Common.Color.Nicknames = CommonModule.Color.Nicknames;
Common.Color.PageHighlight = CommonModule.Color.PageHighlight;
/**
* @constructor
*/
Common.Color.Generator = CommonModule.Color.Generator;
Common.console = CommonModule.Console.Console.instance();
@@ -48,19 +35,6 @@ Common.console = CommonModule.Console.Console.instance();
*/
Common.Console = CommonModule.Console.Console;
/** @enum {symbol} */
Common.Console.Events = CommonModule.Console.Events;
/**
* @enum {string}
*/
Common.Console.MessageLevel = CommonModule.Console.MessageLevel;
/**
* @constructor
*/
Common.Console.Message = CommonModule.Console.Message;
/**
* @interface
*/
@@ -96,11 +70,6 @@ Common.Progress = CommonModule.Progress.Progress;
*/
Common.CompositeProgress = CommonModule.Progress.CompositeProgress;
/**
* @constructor
*/
Common.ProgressProxy = CommonModule.Progress.ProgressProxy;
/**
* @interface
*/
@@ -111,28 +80,12 @@ Common.QueryParamHandler = CommonModule.QueryParamHandler.QueryParamHandler;
*/
Common.resourceTypes = CommonModule.ResourceType.resourceTypes;
/**
* @enum {!ResourceCategory}
*/
Common.resourceCategories = CommonModule.ResourceType.resourceCategories;
/**
* @constructor
*/
Common.ResourceType = CommonModule.ResourceType.ResourceType;
/**
* @interface
*/
Common.Revealer = CommonModule.Revealer.Revealer;
Common.Revealer.reveal = CommonModule.Revealer.reveal;
Common.Revealer.setRevealForTest = CommonModule.Revealer.setRevealForTest;
Common.Revealer.revealDestination = CommonModule.Revealer.revealDestination;
/**
* @interface
*/
Common.Runnable = CommonModule.Runnable.Runnable;
/**
* @constructor
@@ -151,11 +104,6 @@ Common.Settings = CommonModule.Settings.Settings;
Common.Settings.detectColorFormat = CommonModule.Settings.detectColorFormat;
/**
* @constructor
*/
Common.SettingsStorage = CommonModule.Settings.SettingsStorage;
/**
* @constructor
*/
@@ -169,38 +117,15 @@ Common.settingForTest = CommonModule.Settings.settingForTest;
Common.VersionController = CommonModule.Settings.VersionController;
Common.moduleSetting = CommonModule.Settings.moduleSetting;
/**
* @enum {symbol}
*/
Common.SettingStorageType = CommonModule.Settings.SettingStorageType;
/**
* @interface
*/
Common.OutputStream = CommonModule.StringOutputStream.OutputStream;
Common.StringOutputStream = CommonModule.StringOutputStream.StringOutputStream;
Common.TextDictionary = CommonModule.TextDictionary.TextDictionary;
Common.Throttler = CommonModule.Throttler.Throttler;
Common.Trie = CommonModule.Trie.Trie;
/**
* @constructor
*/
Common.UIStringFormat = CommonModule.UIString.UIStringFormat;
Common.UIString = CommonModule.UIString.UIString;
Common.serializeUIString = CommonModule.UIString.serializeUIString;
Common.deserializeUIString = CommonModule.UIString.deserializeUIString;
Common.localize = CommonModule.UIString.localize;
/**
* @constructor
*/
Common.Worker = CommonModule.Worker.WorkerWrapper;
/**
* @type {!Common.Settings}
*/
-6
View File
@@ -31,12 +31,6 @@ Host.ResourceLoader = HostModule.ResourceLoader.ResourceLoader;
*/
Host.ResourceLoader.load = HostModule.ResourceLoader.load;
/**
* @param {string} url
* @param {?Object.<string, string>} headers
* @param {!Common.OutputStream} stream
* @param {function(boolean, !Object.<string, string>, !HostModule.ResourceLoader.LoadErrorDescription)=} callback
*/
Host.ResourceLoader.loadAsStream = HostModule.ResourceLoader.loadAsStream;
/** @constructor */