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

Issue 2774233006: [MD Bookmarks] Change selection items from Map to Set. (Closed)

Created:
3 years, 8 months ago by calamity
Modified:
3 years, 8 months ago
Reviewers:
tsergeant
CC:
chromium-reviews, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Bookmarks] Change selection items from Map to Set. This CL changes the type of the selection items to a Set to accurately reflect the data being stored. BUG=697706 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2774233006 Cr-Commit-Position: refs/heads/master@{#461655} Committed: https://chromium.googlesource.com/chromium/src/+/65d1e47c314fee42363b652ddbccf0dbea9a73c7

Patch Set 1 : #

Patch Set 2 : fix test #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -44 lines) Patch
M chrome/browser/resources/md_bookmarks/app.js View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/dnd_manager.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/folder_node.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/item.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/reducers.js View 4 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/types.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/util.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/app_test.js View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/dnd_manager_test.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/reducers_test.js View 1 3 chunks +16 lines, -16 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/test_util.js View 1 1 chunk +9 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 27 (23 generated)
calamity
I think the main disadvantage here is that we can't easily JSON.stringify() Sets. Maybe it's ...
3 years, 8 months ago (2017-03-30 03:52:47 UTC) #4
tsergeant
lgtm. I don't think the conversion to/from JSON is too bad, considering the improvement in ...
3 years, 8 months ago (2017-03-30 23:00:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2774233006/60001
3 years, 8 months ago (2017-04-04 07:47:30 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 07:53:52 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/65d1e47c314fee42363b652ddbcc...

Powered by Google App Engine
This is Rietveld 408576698