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

Issue 646773005: mojo: Switch the clipboard interface over to using map<>. (Closed)

Created:
6 years, 2 months ago by Elliot Glaysher
Modified:
6 years, 2 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, dcheng, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

mojo: Switch the clipboard interface over to using map<>. BUG=413863 Committed: https://crrev.com/00a8f30e140e0e88a23fb1f14bfa74680cb4bd54 Cr-Commit-Position: refs/heads/master@{#299942}

Patch Set 1 #

Total comments: 7

Patch Set 2 : vtl nits + operator[] #

Total comments: 3

Patch Set 3 : Add unit test. #

Total comments: 1

Patch Set 4 : moar tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -119 lines) Patch
M mojo/public/cpp/bindings/lib/map_internal.h View 1 2 4 chunks +22 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/map.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/tests/map_unittest.cc View 1 2 3 2 chunks +70 lines, -1 line 0 comments Download
M mojo/services/clipboard/clipboard_standalone_impl.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M mojo/services/clipboard/clipboard_standalone_impl.cc View 1 3 chunks +21 lines, -42 lines 0 comments Download
M mojo/services/clipboard/clipboard_standalone_unittest.cc View 1 5 chunks +9 lines, -33 lines 0 comments Download
M mojo/services/html_viewer/webclipboard_impl.cc View 1 2 chunks +9 lines, -27 lines 0 comments Download
M mojo/services/public/interfaces/clipboard/clipboard.mojom View 1 2 chunks +2 lines, -9 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Elliot Glaysher
Split off from the other patch.
6 years, 2 months ago (2014-10-15 21:10:58 UTC) #2
viettrungluu
LGTM w/nits, a comment, and a question. https://codereview.chromium.org/646773005/diff/1/mojo/services/clipboard/clipboard_standalone_impl.cc File mojo/services/clipboard/clipboard_standalone_impl.cc (right): https://codereview.chromium.org/646773005/diff/1/mojo/services/clipboard/clipboard_standalone_impl.cc#newcode1 mojo/services/clipboard/clipboard_standalone_impl.cc:1: // Copyright ...
6 years, 2 months ago (2014-10-15 21:21:13 UTC) #3
Elliot Glaysher
ptal, especially at the move only type implementation in map_internal.h for operator[]. https://codereview.chromium.org/646773005/diff/1/mojo/services/html_viewer/webclipboard_impl.cc File mojo/services/html_viewer/webclipboard_impl.cc ...
6 years, 2 months ago (2014-10-15 21:46:55 UTC) #4
viettrungluu
Is there a unit test for Map (which operator[] should be tested in)? https://codereview.chromium.org/646773005/diff/20001/mojo/public/cpp/bindings/lib/map_internal.h File ...
6 years, 2 months ago (2014-10-15 23:17:24 UTC) #5
Elliot Glaysher
ptal, added test https://codereview.chromium.org/646773005/diff/20001/mojo/public/cpp/bindings/lib/map_internal.h File mojo/public/cpp/bindings/lib/map_internal.h (right): https://codereview.chromium.org/646773005/diff/20001/mojo/public/cpp/bindings/lib/map_internal.h#newcode74 mojo/public/cpp/bindings/lib/map_internal.h:74: static inline ValueRefType Index( On 2014/10/15 ...
6 years, 2 months ago (2014-10-15 23:30:44 UTC) #6
viettrungluu
LGTM w/moar tests https://codereview.chromium.org/646773005/diff/40001/mojo/public/cpp/bindings/tests/map_unittest.cc File mojo/public/cpp/bindings/tests/map_unittest.cc (right): https://codereview.chromium.org/646773005/diff/40001/mojo/public/cpp/bindings/tests/map_unittest.cc#newcode56 mojo/public/cpp/bindings/tests/map_unittest.cc:56: map[kStringIntData[i].string_data] = kStringIntData[i].int_data; Two things: - ...
6 years, 2 months ago (2014-10-15 23:54:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/646773005/60001
6 years, 2 months ago (2014-10-16 00:15:40 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/19534)
6 years, 2 months ago (2014-10-16 03:16:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/646773005/60001
6 years, 2 months ago (2014-10-16 17:47:49 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-16 18:45:20 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 18:46:12 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/00a8f30e140e0e88a23fb1f14bfa74680cb4bd54
Cr-Commit-Position: refs/heads/master@{#299942}

Powered by Google App Engine
This is Rietveld 408576698