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

Issue 14348042: Made the ChromotingHost class not ref-counted. (Closed)

Created:
7 years, 8 months ago by alexeypa (please no reviews)
Modified:
7 years, 7 months ago
Reviewers:
Sergey Ulanov, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Made the ChromotingHost class not ref-counted. ChromotingHost becomes a non thread-safe class should should live on the network thread. The CL removes ChromotingHost::Shutdown() allowing ChromotingHost to be destroyed synchronously closing all existing connection. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197458

Patch Set 1 #

Patch Set 2 : fixed it2me #

Total comments: 7

Patch Set 3 : rebased #

Patch Set 4 : CR feedback. #

Patch Set 5 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -230 lines) Patch
M remoting/host/chromoting_host.h View 8 chunks +11 lines, -32 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 11 chunks +35 lines, -106 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 5 chunks +35 lines, -43 lines 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 2 9 chunks +37 lines, -37 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 7 chunks +7 lines, -12 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/13466014/ broke it2me shoutdown. This is a fixed version. Patch #1 is the original CL. ...
7 years, 8 months ago (2013-04-26 00:02:55 UTC) #1
alexeypa (please no reviews)
Wez, since you looked at other CLs today, how about this one? Ping.
7 years, 7 months ago (2013-04-30 16:52:05 UTC) #2
Wez
On 2013/04/30 16:52:05, alexeypa wrote: > Wez, since you looked at other CLs today, how ...
7 years, 7 months ago (2013-04-30 17:28:32 UTC) #3
alexeypa (please no reviews)
On 2013/04/30 17:28:32, Wez wrote: > On 2013/04/30 16:52:05, alexeypa wrote: > > Wez, since ...
7 years, 7 months ago (2013-04-30 18:05:57 UTC) #4
Sergey Ulanov
LGTM, but see my nits. https://chromiumcodereview.appspot.com/14348042/diff/2001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): https://chromiumcodereview.appspot.com/14348042/diff/2001/remoting/host/chromoting_host.cc#newcode107 remoting/host/chromoting_host.cc:107: if (started_) { nit: ...
7 years, 7 months ago (2013-04-30 18:26:46 UTC) #5
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/14348042/diff/2001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): https://chromiumcodereview.appspot.com/14348042/diff/2001/remoting/host/chromoting_host.cc#newcode107 remoting/host/chromoting_host.cc:107: if (started_) { On 2013/04/30 18:26:46, Sergey Ulanov wrote: ...
7 years, 7 months ago (2013-04-30 18:39:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/14348042/18001
7 years, 7 months ago (2013-04-30 18:40:16 UTC) #7
Sergey Ulanov
https://chromiumcodereview.appspot.com/14348042/diff/2001/remoting/host/plugin/host_script_object.cc File remoting/host/plugin/host_script_object.cc (right): https://chromiumcodereview.appspot.com/14348042/diff/2001/remoting/host/plugin/host_script_object.cc#newcode274 remoting/host/plugin/host_script_object.cc:274: SetState(kDisconnecting); On 2013/04/30 18:39:56, alexeypa wrote: > On 2013/04/30 ...
7 years, 7 months ago (2013-04-30 18:55:19 UTC) #8
Wez
Yes, will do On 30 Apr 2013 19:05, <alexeypa@chromium.org> wrote: > On 2013/04/30 17:28:32, Wez ...
7 years, 7 months ago (2013-04-30 19:04:45 UTC) #9
commit-bot: I haz the power
7 years, 7 months ago (2013-04-30 20:46:17 UTC) #10
Message was sent while issue was closed.
Change committed as 197458

Powered by Google App Engine
This is Rietveld 408576698