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

Issue 10796099: Introducing remoting::Stoppable helper base class implementing asynchronous shutdown on a specific t (Closed)

Created:
8 years, 5 months ago by alexeypa (please no reviews)
Modified:
8 years, 4 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, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Introducing remoting::Stoppable helper base class implementing asynchronous shutdown on a specific thread. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149273

Patch Set 1 #

Total comments: 8

Patch Set 2 : Moving AutoThread and AutoMessageLoop to a separate CL. #

Patch Set 3 : Replacing a naked pointer to the message loop with a message loop proxy. #

Patch Set 4 : Make sure Shutdownable methods are called on one thread. #

Total comments: 16

Patch Set 5 : CR feedback. #

Patch Set 6 : rebased #

Patch Set 7 : Fixing the members initialization order. #

Patch Set 8 : Fixing case of the include file name. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -60 lines) Patch
A remoting/base/stoppable.h View 1 2 3 4 1 chunk +63 lines, -0 lines 2 comments Download
A remoting/base/stoppable.cc View 1 2 3 4 5 6 7 1 chunk +41 lines, -0 lines 0 comments Download
M remoting/host/win/host_service.h View 1 2 3 4 5 4 chunks +13 lines, -6 lines 0 comments Download
M remoting/host/win/host_service.cc View 1 2 3 4 5 13 chunks +31 lines, -34 lines 0 comments Download
M remoting/host/win/wts_session_process_launcher.h View 1 2 3 4 5 5 chunks +13 lines, -7 lines 0 comments Download
M remoting/host/win/wts_session_process_launcher.cc View 1 2 3 4 5 6 chunks +25 lines, -13 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
alexeypa (please no reviews)
Please take a look.
8 years, 5 months ago (2012-07-23 20:50:24 UTC) #1
Sergey Ulanov
It's not clear from CL description why we need it. Ref-counting MessageLoops and Threads seems ...
8 years, 5 months ago (2012-07-23 22:44:37 UTC) #2
alexeypa (please no reviews)
> It's not clear from CL description why we need it. Ref-counting MessageLoops and > ...
8 years, 5 months ago (2012-07-23 23:44:53 UTC) #3
Wez
On 2012/07/23 20:50:24, alexeypa wrote: > Please take a look. Is there a design doc ...
8 years, 5 months ago (2012-07-24 10:57:40 UTC) #4
alexeypa (please no reviews)
On 2012/07/24 10:57:40, Wez wrote: > just the CL description & code comments? Just CL ...
8 years, 5 months ago (2012-07-24 15:53:50 UTC) #5
alexeypa (please no reviews)
I moved AutoThread and AutoMessageLoop to a separate CL. Please take another look.
8 years, 4 months ago (2012-07-26 22:44:49 UTC) #6
alexeypa (please no reviews)
On 2012/07/26 22:44:49, alexeypa wrote: > I moved AutoThread and AutoMessageLoop to a separate CL. ...
8 years, 4 months ago (2012-07-27 20:11:11 UTC) #7
Sergey Ulanov
mostly looks good. I just have some suggestions about shutdownable, mainly regarding naming. http://codereview.chromium.org/10796099/diff/15009/remoting/base/shutdownable.h File ...
8 years, 4 months ago (2012-07-30 19:46:22 UTC) #8
alexeypa (please no reviews)
Please take another look. http://codereview.chromium.org/10796099/diff/15009/remoting/base/shutdownable.h File remoting/base/shutdownable.h (right): http://codereview.chromium.org/10796099/diff/15009/remoting/base/shutdownable.h#newcode18 remoting/base/shutdownable.h:18: // A wrapper implementing two-step ...
8 years, 4 months ago (2012-07-30 20:41:43 UTC) #9
alexeypa (please no reviews)
Ping.
8 years, 4 months ago (2012-07-31 17:48:30 UTC) #10
Sergey Ulanov
lgtm. Sorry for delay.
8 years, 4 months ago (2012-07-31 17:50:45 UTC) #11
alexeypa (please no reviews)
On 2012/07/31 17:50:45, sergeyu wrote: > lgtm. Sorry for delay. Not a problem. I know ...
8 years, 4 months ago (2012-07-31 17:55:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10796099/23003
8 years, 4 months ago (2012-07-31 17:57:51 UTC) #13
commit-bot: I haz the power
Try job failure for 10796099-23003 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-07-31 18:16:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10796099/14005
8 years, 4 months ago (2012-07-31 18:32:56 UTC) #15
commit-bot: I haz the power
Try job failure for 10796099-14005 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-07-31 18:56:03 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10796099/20017
8 years, 4 months ago (2012-07-31 18:59:49 UTC) #17
commit-bot: I haz the power
Try job failure for 10796099-20017 (previous was lost) (retry) (retry) on mac_rel for steps "base_unittests, ...
8 years, 4 months ago (2012-07-31 19:40:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10796099/20017
8 years, 4 months ago (2012-07-31 20:01:52 UTC) #19
commit-bot: I haz the power
Change committed as 149273
8 years, 4 months ago (2012-07-31 21:06:28 UTC) #20
Wez
https://chromiumcodereview.appspot.com/10796099/diff/20017/remoting/base/stoppable.h File remoting/base/stoppable.h (right): https://chromiumcodereview.appspot.com/10796099/diff/20017/remoting/base/stoppable.h#newcode24 remoting/base/stoppable.h:24: explicit Stoppable(scoped_refptr<base::SingleThreadTaskRunner> task_runner, This doesn't need to be explicit, ...
8 years, 4 months ago (2012-08-18 01:08:29 UTC) #21
alexeypa (please no reviews)
8 years, 4 months ago (2012-08-18 01:25:35 UTC) #22
https://chromiumcodereview.appspot.com/10796099/diff/20017/remoting/base/stop...
File remoting/base/stoppable.h (right):

https://chromiumcodereview.appspot.com/10796099/diff/20017/remoting/base/stop...
remoting/base/stoppable.h:24: explicit
Stoppable(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
On 2012/08/18 01:08:29, Wez wrote:
> This doesn't need to be explicit, does it?

Yes, you are right. It should not be explicit. I'll fix it in one of the
upcoming CLs.

Powered by Google App Engine
This is Rietveld 408576698