Commit 487bc2c3 authored by yoshiki@chromium.org's avatar yoshiki@chromium.org

Add the code to delete the unused folder-shortcut data

The data in chrome.storage.local had been used but is now no longer used. This patch adds the code to remove them, in order to save the limited user storage.

BUG=268784
TEST=Files.app launches without error in console.
R=mtomasz@chromium.org

Review URL: https://codereview.chromium.org/22361002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215856 0039d316-1c4b-4281-b951-d872f2087c98
parent ee665037
...@@ -246,6 +246,10 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52; ...@@ -246,6 +246,10 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52;
}.bind(this)); }.bind(this));
}.bind(this)); }.bind(this));
// Removes the user data which is no longer used.
// TODO(yoshiki): Remove this in M31 http://crbug.com/268784/
chrome.storage.local.remove('folder-shortcuts-list');
group.run(callback); group.run(callback);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment