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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/Settings.js

Issue 2513733002: [Devtools] Removed timeline setting from network log settings (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/common/Settings.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/Settings.js b/third_party/WebKit/Source/devtools/front_end/common/Settings.js
index 4176ec88bec9422a951816a55d8522ba998d3644..1eb30e04d50b4d922a26a1f38976da4c14e2f5fb 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/Settings.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/Settings.js
@@ -691,6 +691,14 @@ Common.VersionController = class {
oldSetting.remove();
}
+ _updateVersionFrom20To21() {
+ var networkColumns = Common.settings.createSetting('networkLogColumns', {});
+ var columns = /** @type {!Object} */ (networkColumns.get());
+ delete columns['timeline'];
+ delete columns['waterfall'];
+ networkColumns.set(columns);
+ }
+
_migrateSettingsFromLocalStorage() {
// This step migrates all the settings except for the ones below into the browser profile.
var localSettings = new Set([
@@ -723,7 +731,7 @@ Common.VersionController = class {
};
Common.VersionController._currentVersionName = 'inspectorVersion';
-Common.VersionController.currentVersion = 20;
+Common.VersionController.currentVersion = 21;
/**
* @type {!Common.Settings}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698