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

Issue 2500263003: Port messages sent by WebIDBCursorImpl to Mojo. (Closed)

Created:
4 years, 1 month ago by Reilly Grant (use Gerrit)
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, cmumford, darin (slow to review), darin-cc_chromium.org, jam, jsbell+idb_chromium.org, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Port messages sent by WebIDBCursorImpl to Mojo. This is the third and final patch in a series that converts the IPC messages sent by WebIDBFactoryImpl, WebIDBDatabaseImpl and WebIDBCursorImpl to Mojo messages. This is a mostly mechanical change which also allows a lot of code supporting the legacy IPC messages to be removed. BUG=627484 Committed: https://crrev.com/39fb46622f2322243ff84f8c282f575d46c54c13 Cr-Commit-Position: refs/heads/master@{#433964}

Patch Set 1 #

Patch Set 2 : Add missing include. #

Total comments: 3

Patch Set 3 : Address yzshen@'s comments and fix leak. #

Total comments: 15

Patch Set 4 : Address dcheng@'s feedback. #

Patch Set 5 : Rebased. #

Total comments: 8

Patch Set 6 : Address dcheng@'s comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+822 lines, -1347 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A content/browser/indexed_db/cursor_impl.h View 1 chunk +57 lines, -0 lines 0 comments Download
A content/browser/indexed_db/cursor_impl.cc View 1 2 3 1 chunk +128 lines, -0 lines 0 comments Download
M content/browser/indexed_db/indexed_db_callbacks.h View 2 chunks +0 lines, -17 lines 0 comments Download
M content/browser/indexed_db/indexed_db_callbacks.cc View 1 2 3 4 5 21 chunks +108 lines, -287 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_dispatcher_host.h View 7 chunks +0 lines, -89 lines 0 comments Download
M content/browser/indexed_db/indexed_db_dispatcher_host.cc View 6 chunks +1 line, -186 lines 0 comments Download
M content/browser/indexed_db/indexed_db_factory_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/mock_indexed_db_callbacks.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/child/indexed_db/indexed_db_callbacks_impl.h View 1 2 3 5 chunks +21 lines, -8 lines 0 comments Download
M content/child/indexed_db/indexed_db_callbacks_impl.cc View 1 2 3 10 chunks +76 lines, -34 lines 0 comments Download
M content/child/indexed_db/indexed_db_database_callbacks_impl.h View 2 chunks +1 line, -5 lines 0 comments Download
M content/child/indexed_db/indexed_db_database_callbacks_impl.cc View 1 2 3 3 chunks +8 lines, -15 lines 0 comments Download
M content/child/indexed_db/indexed_db_dispatcher.h View 1 2 3 5 chunks +7 lines, -80 lines 0 comments Download
M content/child/indexed_db/indexed_db_dispatcher.cc View 8 chunks +18 lines, -227 lines 0 comments Download
M content/child/indexed_db/indexed_db_message_filter.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/child/indexed_db/webidbcursor_impl.h View 3 chunks +15 lines, -5 lines 0 comments Download
M content/child/indexed_db/webidbcursor_impl.cc View 7 chunks +125 lines, -35 lines 0 comments Download
M content/child/indexed_db/webidbcursor_impl_unittest.cc View 1 2 6 chunks +156 lines, -164 lines 0 comments Download
M content/child/indexed_db/webidbdatabase_impl.h View 2 chunks +1 line, -4 lines 0 comments Download
M content/child/indexed_db/webidbdatabase_impl.cc View 13 chunks +30 lines, -57 lines 0 comments Download
M content/child/indexed_db/webidbdatabase_impl_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M content/child/indexed_db/webidbfactory_impl.h View 2 chunks +0 lines, -3 lines 0 comments Download
M content/child/indexed_db/webidbfactory_impl.cc View 5 chunks +4 lines, -8 lines 0 comments Download
M content/common/indexed_db/indexed_db.mojom View 2 chunks +20 lines, -1 line 0 comments Download
M content/common/indexed_db/indexed_db_messages.h View 2 chunks +0 lines, -108 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/associated_interface_ptr.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (28 generated)
Reilly Grant (use Gerrit)
dcheng@, IPC security review please. cmumford@, general review please. yzshen@, please review the test-only function ...
4 years, 1 month ago (2016-11-15 02:40:43 UTC) #3
cmumford
reillyg@ Looks like memory leaks in: WebIDBCursorImplTest.AdvancePrefetchTest WebIDBCursorImplTest.PrefetchReset Identified by linux_chromium_asan_rel_ng.
4 years, 1 month ago (2016-11-15 15:33:35 UTC) #8
yzshen1
https://codereview.chromium.org/2500263003/diff/20001/mojo/public/cpp/bindings/associated_group.h File mojo/public/cpp/bindings/associated_group.h (right): https://codereview.chromium.org/2500263003/diff/20001/mojo/public/cpp/bindings/associated_group.h#newcode92 mojo/public/cpp/bindings/associated_group.h:92: AssociatedInterfaceRequest<Interface> GetProxyForTesting( Does it make sense to: - move ...
4 years, 1 month ago (2016-11-15 17:39:50 UTC) #10
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2500263003/diff/20001/mojo/public/cpp/bindings/associated_group.h File mojo/public/cpp/bindings/associated_group.h (right): https://codereview.chromium.org/2500263003/diff/20001/mojo/public/cpp/bindings/associated_group.h#newcode92 mojo/public/cpp/bindings/associated_group.h:92: AssociatedInterfaceRequest<Interface> GetProxyForTesting( On 2016/11/15 at 17:39:50, yzshen1 wrote: > ...
4 years, 1 month ago (2016-11-15 17:43:11 UTC) #11
yzshen1
https://codereview.chromium.org/2500263003/diff/20001/mojo/public/cpp/bindings/associated_group.h File mojo/public/cpp/bindings/associated_group.h (right): https://codereview.chromium.org/2500263003/diff/20001/mojo/public/cpp/bindings/associated_group.h#newcode92 mojo/public/cpp/bindings/associated_group.h:92: AssociatedInterfaceRequest<Interface> GetProxyForTesting( On 2016/11/15 17:43:11, Reilly Grant wrote: > ...
4 years, 1 month ago (2016-11-15 17:59:35 UTC) #12
Reilly Grant (use Gerrit)
Address yzshen@'s comments and fix leak.
4 years, 1 month ago (2016-11-15 21:19:17 UTC) #13
Reilly Grant (use Gerrit)
On 2016/11/15 at 15:33:35, cmumford wrote: > reillyg@ Looks like memory leaks in: > > ...
4 years, 1 month ago (2016-11-15 21:21:17 UTC) #16
Reilly Grant (use Gerrit)
On 2016/11/15 at 17:59:35, yzshen wrote: > https://codereview.chromium.org/2500263003/diff/20001/mojo/public/cpp/bindings/associated_group.h > File mojo/public/cpp/bindings/associated_group.h (right): > > https://codereview.chromium.org/2500263003/diff/20001/mojo/public/cpp/bindings/associated_group.h#newcode92 ...
4 years, 1 month ago (2016-11-15 21:21:54 UTC) #17
yzshen1
mojo/public/cpp/bindings LGTM
4 years, 1 month ago (2016-11-15 21:24:13 UTC) #18
dcheng
Mostly just nits. I'm handwaving a bit here, but the other bits look reasonable to ...
4 years, 1 month ago (2016-11-17 03:46:23 UTC) #21
Reilly Grant (use Gerrit)
Address dcheng@'s feedback.
4 years, 1 month ago (2016-11-17 20:03:47 UTC) #22
Reilly Grant (use Gerrit)
jam@, please review these top-level //content files: content/browser/BUILD.gn content/renderer/render_thread_impl.cc content/renderer/renderer_blink_platform_impl.cc https://codereview.chromium.org/2500263003/diff/40001/content/browser/indexed_db/cursor_impl.cc File content/browser/indexed_db/cursor_impl.cc (right): https://codereview.chromium.org/2500263003/diff/40001/content/browser/indexed_db/cursor_impl.cc#newcode37 ...
4 years, 1 month ago (2016-11-17 20:04:52 UTC) #23
Reilly Grant (use Gerrit)
Rebased.
4 years, 1 month ago (2016-11-19 01:21:48 UTC) #28
Reilly Grant (use Gerrit)
pfeldman@, please review top-level //content files: * content/browser/BUILD.gn * content/renderer/render_thread_impl.cc * content/renderer/renderer_blink_platform_impl.cc
4 years, 1 month ago (2016-11-19 02:12:27 UTC) #32
dcheng
Slightly handwavy mojo lgtm Looking back on these CLS, I think the main thing I ...
4 years, 1 month ago (2016-11-21 10:31:57 UTC) #35
cmumford
lgtm
4 years, 1 month ago (2016-11-21 16:43:40 UTC) #36
Reilly Grant (use Gerrit)
Address dcheng@'s comments.
4 years, 1 month ago (2016-11-21 19:00:34 UTC) #37
Reilly Grant (use Gerrit)
Thanks for the reviews. In general I don't like all the boilerplate that I've had ...
4 years, 1 month ago (2016-11-21 19:02:22 UTC) #38
Reilly Grant (use Gerrit)
pfeldman@, ping.
4 years, 1 month ago (2016-11-22 17:59:28 UTC) #39
pfeldman
lgtm
4 years, 1 month ago (2016-11-22 19:50:53 UTC) #42
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/2500263003/100001
4 years, 1 month ago (2016-11-22 20:20:38 UTC) #47
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-22 20:27:53 UTC) #49
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 20:31:47 UTC) #51
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/39fb46622f2322243ff84f8c282f575d46c54c13
Cr-Commit-Position: refs/heads/master@{#433964}

Powered by Google App Engine
This is Rietveld 408576698