| Index: chrome/browser/resources/net_internals/main.js
|
| diff --git a/chrome/browser/resources/net_internals/main.js b/chrome/browser/resources/net_internals/main.js
|
| index 5975e8307c610888c08932aca6c81ba5152e30ea..05e9e7b9bac56b43a149f9b5e771fc14542a312c 100644
|
| --- a/chrome/browser/resources/net_internals/main.js
|
| +++ b/chrome/browser/resources/net_internals/main.js
|
| @@ -21,7 +21,6 @@ var LoadFlag = null;
|
| var CertStatusFlag = null;
|
| var LoadState = null;
|
| var AddressFamily = null;
|
| -var SdchProblemCode = null;
|
|
|
| /**
|
| * Dictionary of all constants, used for saving log files.
|
| @@ -193,7 +192,6 @@ var MainView = (function() {
|
| addTab(SocketsView);
|
| addTab(SpdyView);
|
| addTab(QuicView);
|
| - addTab(SdchView);
|
| addTab(HttpCacheView);
|
| addTab(ModulesView);
|
| addTab(TestView);
|
| @@ -313,7 +311,6 @@ ConstantsObserver.prototype.onReceivedConstants = function(receivedConstants) {
|
| QuicRstStreamError = Constants.quicRstStreamError;
|
| AddressFamily = Constants.addressFamily;
|
| LoadState = Constants.loadState;
|
| - SdchProblemCode = Constants.sdchProblemCode;
|
| // certStatusFlag may not be present when loading old log Files
|
| if (typeof(Constants.certStatusFlag) == 'object')
|
| CertStatusFlag = Constants.certStatusFlag;
|
| @@ -389,15 +386,3 @@ function addressFamilyToString(family) {
|
| // Strip that prefix since it is redundant and only clutters the output.
|
| return str.replace(/^ADDRESS_FAMILY_/, '');
|
| }
|
| -
|
| -/**
|
| - * Returns the name for sdchProblemCode.
|
| - *
|
| - * Example: sdchProblemCodeToString(5) should return
|
| - * "DECODE_BODY_ERROR".
|
| - * @param {number} sdchProblemCode The SDCH problem code.
|
| - * @return {string} The name of the given problem code.
|
| - */
|
| -function sdchProblemCodeToString(sdchProblemCode) {
|
| - return getKeyWithValue(SdchProblemCode, sdchProblemCode);
|
| -}
|
|
|