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

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

Issue 2881793003: [Devtools] Updated frontend version to 24 - remove products column (Closed)
Patch Set: Created 3 years, 7 months 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 280e168499ef29428b2a15c9190a0eabe04baea1..794630a2f98e3abd23edb9bf7e4e885c5cc9e067 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/Settings.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/Settings.js
@@ -766,6 +766,14 @@ Common.VersionController = class {
oldSetting.remove();
}
+ _updateVersionFrom24To25() {
+ var defaultColumns = {status: true, type: true, initiator: true, size: true, time: true};
+ var networkLogColumnsSetting = Common.settings.createSetting('networkLogColumns', defaultColumns);
+ var columns = networkLogColumnsSetting.get();
+ delete columns.product;
+ networkLogColumnsSetting.set(columns);
+ }
+
_migrateSettingsFromLocalStorage() {
// This step migrates all the settings except for the ones below into the browser profile.
var localSettings = new Set([
@@ -798,7 +806,7 @@ Common.VersionController = class {
};
Common.VersionController._currentVersionName = 'inspectorVersion';
-Common.VersionController.currentVersion = 24;
+Common.VersionController.currentVersion = 25;
/**
* @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