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

Issue 46433002: Support using TrackedCallbacks as hints to determine the handling thread of resource reply messages (Closed)

Created:
7 years, 1 month ago by yzshen1
Modified:
7 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, bbudge
Visibility:
Public.

Description

Support using TrackedCallbacks as hints to determine the handling thread of resource reply messages. BUG=269737 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240282

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : fix tests #

Total comments: 6

Patch Set 4 : cleanup #

Total comments: 12

Patch Set 5 : . #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -164 lines) Patch
M content/ppapi_plugin/ppapi_thread.h View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 5 6 4 chunks +8 lines, -8 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/device_enumeration_resource_helper_unittest.cc View 1 2 7 chunks +24 lines, -29 lines 0 comments Download
M ppapi/proxy/file_chooser_resource_unittest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/proxy/plugin_dispatcher.h View 1 2 3 3 chunks +0 lines, -17 lines 0 comments Download
M ppapi/proxy/plugin_dispatcher.cc View 1 2 3 6 chunks +4 lines, -34 lines 0 comments Download
M ppapi/proxy/plugin_globals.h View 3 chunks +7 lines, -0 lines 0 comments Download
M ppapi/proxy/plugin_globals.cc View 3 chunks +7 lines, -2 lines 0 comments Download
M ppapi/proxy/plugin_main_nacl.cc View 1 2 3 5 chunks +4 lines, -11 lines 0 comments Download
M ppapi/proxy/plugin_message_filter.h View 1 2 3 4 5 2 chunks +37 lines, -10 lines 0 comments Download
M ppapi/proxy/plugin_message_filter.cc View 1 2 3 4 chunks +50 lines, -1 line 0 comments Download
M ppapi/proxy/plugin_resource.h View 1 2 3 4 6 chunks +36 lines, -1 line 0 comments Download
M ppapi/proxy/plugin_resource.cc View 1 2 3 chunks +9 lines, -1 line 0 comments Download
M ppapi/proxy/ppb_message_loop_proxy.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_message_loop_proxy.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/proxy/printing_resource_unittest.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
A ppapi/proxy/resource_reply_thread_registrar.h View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
A ppapi/proxy/resource_reply_thread_registrar.cc View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
M ppapi/proxy/talk_resource_unittest.cc View 1 2 6 chunks +7 lines, -9 lines 0 comments Download
M ppapi/proxy/tcp_socket_resource_base.cc View 1 9 chunks +18 lines, -9 lines 0 comments Download
M ppapi/proxy/udp_socket_resource_base.cc View 1 4 chunks +8 lines, -4 lines 0 comments Download
M ppapi/proxy/websocket_resource_unittest.cc View 1 2 3 5 chunks +14 lines, -18 lines 0 comments Download
M ppapi/shared_impl/ppb_message_loop_shared.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M ppapi/shared_impl/tracked_callback.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
yzshen1
Hi, David and Antoine. Would you please take a look? David: everything Antoine: OWNER review ...
7 years ago (2013-12-10 01:18:09 UTC) #1
piman
LGTM for the content parts.
7 years ago (2013-12-10 01:45:46 UTC) #2
yzshen1
7 years ago (2013-12-10 19:25:12 UTC) #3
dmichael (off chromium)
https://codereview.chromium.org/46433002/diff/260001/ppapi/proxy/plugin_globals.h File ppapi/proxy/plugin_globals.h (right): https://codereview.chromium.org/46433002/diff/260001/ppapi/proxy/plugin_globals.h#newcode168 ppapi/proxy/plugin_globals.h:168: scoped_refptr<ResourceReplyThreadRegistrar> resource_reply_thread_registrar_; Is there any reason to not just ...
7 years ago (2013-12-10 23:38:00 UTC) #4
yzshen1
Thanks David! https://codereview.chromium.org/46433002/diff/260001/ppapi/proxy/plugin_globals.h File ppapi/proxy/plugin_globals.h (right): https://codereview.chromium.org/46433002/diff/260001/ppapi/proxy/plugin_globals.h#newcode168 ppapi/proxy/plugin_globals.h:168: scoped_refptr<ResourceReplyThreadRegistrar> resource_reply_thread_registrar_; On 2013/12/10 23:38:01, dmichael wrote: ...
7 years ago (2013-12-11 00:21:49 UTC) #5
dmichael (off chromium)
https://codereview.chromium.org/46433002/diff/240001/ppapi/proxy/plugin_message_filter.h File ppapi/proxy/plugin_message_filter.h (right): https://codereview.chromium.org/46433002/diff/240001/ppapi/proxy/plugin_message_filter.h#newcode31 ppapi/proxy/plugin_message_filter.h:31: // The input is a pointer to a set ...
7 years ago (2013-12-11 21:30:36 UTC) #6
yzshen1
Thanks David! https://codereview.chromium.org/46433002/diff/240001/ppapi/proxy/plugin_message_filter.h File ppapi/proxy/plugin_message_filter.h (right): https://codereview.chromium.org/46433002/diff/240001/ppapi/proxy/plugin_message_filter.h#newcode31 ppapi/proxy/plugin_message_filter.h:31: // The input is a pointer to ...
7 years ago (2013-12-11 22:22:07 UTC) #7
dmichael (off chromium)
Oops, thanks for reminding me about the browser channel. lgtm
7 years ago (2013-12-11 22:25:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/46433002/300001
7 years ago (2013-12-11 22:30:43 UTC) #9
commit-bot: I haz the power
Failed to apply patch for content/ppapi_plugin/ppapi_thread.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-11 22:30:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/46433002/320001
7 years ago (2013-12-12 00:19:46 UTC) #11
commit-bot: I haz the power
7 years ago (2013-12-12 12:25:36 UTC) #12
Message was sent while issue was closed.
Change committed as 240282

Powered by Google App Engine
This is Rietveld 408576698