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

Issue 7635030: Add PluginMessageLoopProxy and use it for Host plugin UI thread. (Closed)

Created:
9 years, 4 months ago by Sergey Ulanov
Modified:
9 years, 4 months ago
Reviewers:
awong, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, Paweł Hajdan Jr., dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Add PluginMessageLoopProxy and use it for Host plugin UI thread. The new class will also be used in the client plugin for the main plugin thread. BUG=None TEST=Everything works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97060

Patch Set 1 #

Total comments: 6

Patch Set 2 : - #

Total comments: 2

Patch Set 3 : - #

Patch Set 4 : fix clang #

Total comments: 2

Patch Set 5 : - #

Total comments: 6

Patch Set 6 : - #

Patch Set 7 : merged #

Patch Set 8 : - #

Patch Set 9 : - #

Patch Set 10 : - #

Patch Set 11 : fix release build break #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -133 lines) Patch
A remoting/base/plugin_message_loop_proxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +80 lines, -0 lines 0 comments Download
A remoting/base/plugin_message_loop_proxy.cc View 1 2 1 chunk +114 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host_context.h View 1 2 3 4 3 chunks +3 lines, -19 lines 0 comments Download
M remoting/host/chromoting_host_context.cc View 1 2 3 4 3 chunks +8 lines, -29 lines 0 comments Download
M remoting/host/chromoting_host_context_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 4 5 6 2 chunks +1 line, -7 lines 0 comments Download
M remoting/host/desktop_environment.cc View 1 2 3 4 5 11 chunks +29 lines, -19 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/host_mock_objects.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
M remoting/host/plugin/host_plugin.cc View 1 2 3 4 6 chunks +50 lines, -3 lines 0 comments Download
M remoting/host/plugin/host_script_object.h View 1 2 3 4 5 6 5 chunks +4 lines, -9 lines 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 2 3 4 5 6 7 chunks +13 lines, -37 lines 1 comment Download
remoting/host/simple_host_process.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -7 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Sergey Ulanov
9 years, 4 months ago (2011-08-12 21:00:28 UTC) #1
Sergey Ulanov
-ajwong, +awong
9 years, 4 months ago (2011-08-12 21:00:59 UTC) #2
awong
http://codereview.chromium.org/7635030/diff/1/remoting/base/plugin_message_loop_proxy.cc File remoting/base/plugin_message_loop_proxy.cc (right): http://codereview.chromium.org/7635030/diff/1/remoting/base/plugin_message_loop_proxy.cc#newcode45 remoting/base/plugin_message_loop_proxy.cc:45: return PostTask(from_here, task); I'm not certain we should even ...
9 years, 4 months ago (2011-08-12 21:15:26 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/7635030/diff/1/remoting/base/plugin_message_loop_proxy.cc File remoting/base/plugin_message_loop_proxy.cc (right): http://codereview.chromium.org/7635030/diff/1/remoting/base/plugin_message_loop_proxy.cc#newcode45 remoting/base/plugin_message_loop_proxy.cc:45: return PostTask(from_here, task); On 2011/08/12 21:15:26, awong wrote: > ...
9 years, 4 months ago (2011-08-12 22:45:25 UTC) #4
Sergey Ulanov
ping
9 years, 4 months ago (2011-08-15 18:48:26 UTC) #5
awong
LGTM http://codereview.chromium.org/7635030/diff/8001/remoting/client/client_context.cc File remoting/client/client_context.cc (right): http://codereview.chromium.org/7635030/diff/8001/remoting/client/client_context.cc#newcode12 remoting/client/client_context.cc:12: namespace { add newline.
9 years, 4 months ago (2011-08-15 20:17:53 UTC) #6
Wez
It looks to me like PluginMessageLoopProxy is over-generalised; all it actually does is collapse the ...
9 years, 4 months ago (2011-08-15 20:28:19 UTC) #7
Sergey Ulanov
http://codereview.chromium.org/7635030/diff/8001/remoting/client/client_context.cc File remoting/client/client_context.cc (right): http://codereview.chromium.org/7635030/diff/8001/remoting/client/client_context.cc#newcode12 remoting/client/client_context.cc:12: namespace { On 2011/08/15 20:17:53, awong wrote: > add ...
9 years, 4 months ago (2011-08-15 22:39:52 UTC) #8
Sergey Ulanov
On 2011/08/15 20:28:19, Wez wrote: > It looks to me like PluginMessageLoopProxy is over-generalised; all ...
9 years, 4 months ago (2011-08-15 22:47:13 UTC) #9
Wez
On 2011/08/15 22:47:13, sergeyu wrote: > On 2011/08/15 20:28:19, Wez wrote: > > It looks ...
9 years, 4 months ago (2011-08-16 00:16:09 UTC) #10
awong
9 years, 4 months ago (2011-08-18 01:49:14 UTC) #11
rereading code because of Lambros's bug.

http://codereview.chromium.org/7635030/diff/17001/remoting/host/plugin/host_s...
File remoting/host/plugin/host_script_object.cc (left):

http://codereview.chromium.org/7635030/diff/17001/remoting/host/plugin/host_s...
remoting/host/plugin/host_script_object.cc:131: destructing_.Set();
Doesn't this still need to be around Sergey?

Powered by Google App Engine
This is Rietveld 408576698