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

Issue 11416093: Add HostState enum to track host process status. (Closed)

Created:
8 years, 1 month ago by Sergey Ulanov
Modified:
8 years ago
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

Add HostState enum to track host process status. Previously state of the host was tracked via shutting_down_ and restarting_ flags which made state transitions hard to understand in some case. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171677

Patch Set 1 : #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -120 lines) Patch
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 5 6 22 chunks +135 lines, -120 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Sergey Ulanov
8 years, 1 month ago (2012-11-20 03:23:55 UTC) #1
Wez
This doesn't feel to me like it makes the states any easier to understand... ;) ...
8 years, 1 month ago (2012-11-20 03:44:18 UTC) #2
alexeypa (please no reviews)
https://codereview.chromium.org/11416093/diff/4001/remoting/host/remoting_me2me_host.cc File remoting/host/remoting_me2me_host.cc (right): https://codereview.chromium.org/11416093/diff/4001/remoting/host/remoting_me2me_host.cc#newcode177 remoting/host/remoting_me2me_host.cc:177: enum HostState { bootstrapping and restarting states are confusing. ...
8 years, 1 month ago (2012-11-20 17:00:56 UTC) #3
Sergey Ulanov
On 2012/11/20 03:44:18, Wez wrote: > This doesn't feel to me like it makes the ...
8 years, 1 month ago (2012-11-20 19:19:50 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/11416093/diff/4001/remoting/host/remoting_me2me_host.cc File remoting/host/remoting_me2me_host.cc (right): https://codereview.chromium.org/11416093/diff/4001/remoting/host/remoting_me2me_host.cc#newcode177 remoting/host/remoting_me2me_host.cc:177: enum HostState { We don't really need Starting state ...
8 years, 1 month ago (2012-11-20 20:02:33 UTC) #5
alexeypa (please no reviews)
https://codereview.chromium.org/11416093/diff/4001/remoting/host/remoting_me2me_host.cc File remoting/host/remoting_me2me_host.cc (right): https://codereview.chromium.org/11416093/diff/4001/remoting/host/remoting_me2me_host.cc#newcode177 remoting/host/remoting_me2me_host.cc:177: enum HostState { On 2012/11/20 20:02:34, sergeyu wrote: > ...
8 years, 1 month ago (2012-11-20 21:18:29 UTC) #6
Sergey Ulanov
On 2012/11/20 21:18:29, alexeypa wrote: > https://codereview.chromium.org/11416093/diff/4001/remoting/host/remoting_me2me_host.cc > File remoting/host/remoting_me2me_host.cc (right): > > https://codereview.chromium.org/11416093/diff/4001/remoting/host/remoting_me2me_host.cc#newcode177 > ...
8 years, 1 month ago (2012-11-20 22:39:30 UTC) #7
Sergey Ulanov
Renamed BOOTSTRAPPING to INITIALIZING and RESTARTING to STOPPING_TO_RESTART. Also cleaned up start-up sequence - now ...
8 years, 1 month ago (2012-11-21 23:44:43 UTC) #8
alexeypa (please no reviews)
> > 1. WAITING_POLICIES -> STOPPED (Policies received) > That doesn't look right - we ...
8 years, 1 month ago (2012-11-21 23:50:51 UTC) #9
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/11416093/diff/1003/remoting/host/remoting_me2me_host.cc File remoting/host/remoting_me2me_host.cc (right): https://chromiumcodereview.appspot.com/11416093/diff/1003/remoting/host/remoting_me2me_host.cc#newcode260 remoting/host/remoting_me2me_host.cc:260: nit: remove the empty line? https://chromiumcodereview.appspot.com/11416093/diff/1003/remoting/host/remoting_me2me_host.cc#newcode980 remoting/host/remoting_me2me_host.cc:980: nit: remove ...
8 years, 1 month ago (2012-11-21 23:53:48 UTC) #10
Sergey Ulanov
https://chromiumcodereview.appspot.com/11416093/diff/1003/remoting/host/remoting_me2me_host.cc File remoting/host/remoting_me2me_host.cc (right): https://chromiumcodereview.appspot.com/11416093/diff/1003/remoting/host/remoting_me2me_host.cc#newcode260 remoting/host/remoting_me2me_host.cc:260: On 2012/11/21 23:53:48, alexeypa wrote: > nit: remove the ...
8 years ago (2012-11-27 01:04:38 UTC) #11
commit-bot: I haz the power
8 years ago (2012-12-06 23:16:09 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698