| Index: chrome/browser/resources/net_internals/export_view.js
|
| diff --git a/chrome/browser/resources/net_internals/export_view.js b/chrome/browser/resources/net_internals/export_view.js
|
| index 7732e23dc0664dc380a07b446484a0915e968bb7..f44bd1898108831e5dc8cb6a0055679cef344fa3 100644
|
| --- a/chrome/browser/resources/net_internals/export_view.js
|
| +++ b/chrome/browser/resources/net_internals/export_view.js
|
| @@ -20,6 +20,11 @@ var ExportView = (function() {
|
| // Call superclass's constructor.
|
| superClass.call(this, ExportView.MAIN_BOX_ID);
|
|
|
| + this.deprecatedNoticeUI_ = $(ExportView.DEPRECATED_NOTICE_UI_ID);
|
| + this.showDeprecatedUIButton_ = $(ExportView.SHOW_DEPRECATED_UI_BUTTON_ID);
|
| + this.showDeprecatedUIButton_.onclick = this.onShowDeprecatedUI_.bind(this);
|
| + this.deprecatedExportUI_ = $(ExportView.DEPRECATED_EXPORT_UI_ID);
|
| +
|
| var privacyStrippingCheckbox = $(ExportView.PRIVACY_STRIPPING_CHECKBOX_ID);
|
| privacyStrippingCheckbox.onclick =
|
| this.onSetPrivacyStripping_.bind(this, privacyStrippingCheckbox);
|
| @@ -46,6 +51,10 @@ var ExportView = (function() {
|
| ExportView.TAB_HASH = '#export';
|
|
|
| // IDs for special HTML elements in export_view.html
|
| + ExportView.DEPRECATED_NOTICE_UI_ID = 'export-view-deprecated-notice';
|
| + ExportView.SHOW_DEPRECATED_UI_BUTTON_ID = 'export-view-show-deprecated-ui';
|
| + ExportView.DEPRECATED_EXPORT_UI_ID = 'export-view-ui-deprecated';
|
| +
|
| ExportView.MAIN_BOX_ID = 'export-view-tab-content';
|
| ExportView.DOWNLOAD_ANCHOR_ID = 'export-view-download-anchor';
|
| ExportView.SAVE_FILE_BUTTON_ID = 'export-view-save-log-file';
|
| @@ -62,6 +71,15 @@ var ExportView = (function() {
|
| __proto__: superClass.prototype,
|
|
|
| /**
|
| + * Hides the export-view deprecation warning message and shows the
|
| + * deprecated export-view UI.
|
| + */
|
| + onShowDeprecatedUI_: function() {
|
| + setNodeDisplay(this.deprecatedNoticeUI_, false);
|
| + setNodeDisplay(this.deprecatedExportUI_, true);
|
| + },
|
| +
|
| + /**
|
| * Depending on the value of the checkbox, enables or disables stripping
|
| * cookies and passwords from log dumps and displayed events.
|
| */
|
|
|