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

Issue 8001: Make IPC::SyncChannel not duplicate the underlying MessageLoop implementation... (Closed)

Created:
12 years, 2 months ago by jam
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make IPC::SyncChannel not duplicate the underlying MessageLoop implementation by pumping messages on its own. This fixes the problem of windowless plugins not painting on right click, and generally makes this class almost ported, other than using a generic version of events/locks.Through this change I've also cleaned up the class and hopefully made it more understandable. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=3934

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+668 lines, -375 lines) Patch
M base/object_watcher.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M base/object_watcher.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M base/object_watcher_unittest.cc View 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/ipc_channel_proxy.h View 1 2 3 4 5 6 7 5 chunks +13 lines, -11 lines 0 comments Download
M chrome/common/ipc_channel_proxy.cc View 1 2 3 4 5 6 7 4 chunks +11 lines, -13 lines 0 comments Download
M chrome/common/ipc_sync_channel.h View 1 2 3 4 5 6 7 3 chunks +62 lines, -31 lines 0 comments Download
M chrome/common/ipc_sync_channel.cc View 1 2 3 4 5 6 7 11 chunks +200 lines, -206 lines 0 comments Download
M chrome/common/ipc_sync_channel_unittest.cc View 1 2 3 4 5 6 23 chunks +365 lines, -112 lines 0 comments Download
M chrome/common/ipc_sync_message.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jam
12 years, 2 months ago (2008-10-21 04:28:50 UTC) #1
darin (slow to review)
http://codereview.chromium.org/8001/diff/209/210 File base/object_watcher.h (right): http://codereview.chromium.org/8001/diff/209/210#newcode73 Line 73: HANDLE GetWatchedObject(); please extend some of the unit ...
12 years, 2 months ago (2008-10-21 05:09:43 UTC) #2
jam
http://codereview.chromium.org/8001/diff/209/210 File base/object_watcher.h (right): http://codereview.chromium.org/8001/diff/209/210#newcode73 Line 73: HANDLE GetWatchedObject(); On 2008/10/21 05:09:43, darin wrote: > ...
12 years, 2 months ago (2008-10-22 00:04:41 UTC) #3
darin (slow to review)
LGTM, but given all of the times you found additional interesting race conditions and gotchas, ...
12 years, 2 months ago (2008-10-22 07:45:16 UTC) #4
darin (slow to review)
12 years, 2 months ago (2008-10-24 06:02:35 UTC) #5
love the new tests!  LGTM

Powered by Google App Engine
This is Rietveld 408576698