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

Issue 10106013: Chromoting: stopping the service if the host ID is permanently not recognized by the could. (Closed)

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

Description

Chromoting: stopping the service if a permanent error is encountered (such as the host ID is permanently not recognized by the could or invalid host configuration). BUG=123715, 112160 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132675

Patch Set 1 #

Total comments: 9

Patch Set 2 : Exiting host cleanly + CR feedback. #

Total comments: 10

Patch Set 3 : Cr feedback. #

Total comments: 6

Patch Set 4 : Cr feedback #

Patch Set 5 : CR feeback. Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -49 lines) Patch
A remoting/host/constants.h View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M remoting/host/heartbeat_sender.h View 1 2 3 2 chunks +11 lines, -2 lines 0 comments Download
M remoting/host/heartbeat_sender.cc View 1 2 3 3 chunks +6 lines, -8 lines 0 comments Download
M remoting/host/heartbeat_sender_unittest.cc View 1 2 3 2 chunks +9 lines, -2 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 8 chunks +23 lines, -8 lines 0 comments Download
M remoting/host/simple_host_process.cc View 1 2 3 4 4 chunks +13 lines, -3 lines 0 comments Download
M remoting/host/url_request_context.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M remoting/host/url_request_context.cc View 1 2 3 4 3 chunks +10 lines, -8 lines 0 comments Download
M remoting/host/wts_session_process_launcher_win.cc View 1 2 3 4 3 chunks +6 lines, -8 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M remoting/tools/me2me_virtual_host.py View 1 2 1 chunk +15 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
alexeypa (please no reviews)
PTAL
8 years, 8 months ago (2012-04-17 00:22:20 UTC) #1
simonmorris
http://codereview.chromium.org/10106013/diff/1/remoting/host/wts_session_process_launcher_win.cc File remoting/host/wts_session_process_launcher_win.cc (right): http://codereview.chromium.org/10106013/diff/1/remoting/host/wts_session_process_launcher_win.cc#newcode350 remoting/host/wts_session_process_launcher_win.cc:350: bool stop_trying = GetExitCodeProcess(process_.handle(), &exit_code) && ( It would ...
8 years, 8 months ago (2012-04-17 00:46:43 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/10106013/diff/1/remoting/host/constants.h File remoting/host/constants.h (right): http://codereview.chromium.org/10106013/diff/1/remoting/host/constants.h#newcode11 remoting/host/constants.h:11: const int kSuccessExitCode = 0; Make it enum? http://codereview.chromium.org/10106013/diff/1/remoting/host/constants.h#newcode14 ...
8 years, 8 months ago (2012-04-17 17:24:24 UTC) #3
alexeypa (please no reviews)
http://codereview.chromium.org/10106013/diff/1/remoting/host/constants.h File remoting/host/constants.h (right): http://codereview.chromium.org/10106013/diff/1/remoting/host/constants.h#newcode14 remoting/host/constants.h:14: On 2012/04/17 17:24:24, sergeyu wrote: > Please add one ...
8 years, 8 months ago (2012-04-17 17:45:01 UTC) #4
Lambros
http://codereview.chromium.org/10106013/diff/1/remoting/host/constants.h File remoting/host/constants.h (right): http://codereview.chromium.org/10106013/diff/1/remoting/host/constants.h#newcode12 remoting/host/constants.h:12: const int kInvalidHostConfigurationExitCode = 1; Please could you also ...
8 years, 8 months ago (2012-04-17 18:04:02 UTC) #5
alexeypa (please no reviews)
PTAL. sergeyu -> url_request_context.* lambros -> me2me_virtual_host.py simonmorris -> everything else. http://codereview.chromium.org/10106013/diff/1/remoting/host/constants.h File remoting/host/constants.h (right): ...
8 years, 8 months ago (2012-04-17 18:35:53 UTC) #6
Sergey Ulanov
http://codereview.chromium.org/10106013/diff/4003/remoting/host/url_request_context.cc File remoting/host/url_request_context.cc (right): http://codereview.chromium.org/10106013/diff/4003/remoting/host/url_request_context.cc#newcode65 remoting/host/url_request_context.cc:65: new URLRequestContext(proxy_config_service_.Pass()); What if this method is called more ...
8 years, 8 months ago (2012-04-17 18:56:12 UTC) #7
Lambros
http://codereview.chromium.org/10106013/diff/4003/remoting/tools/me2me_virtual_host.py File remoting/tools/me2me_virtual_host.py (right): http://codereview.chromium.org/10106013/diff/4003/remoting/tools/me2me_virtual_host.py#newcode734 remoting/tools/me2me_virtual_host.py:734: # These exit-codes must match the one used by ...
8 years, 8 months ago (2012-04-17 19:01:18 UTC) #8
alexeypa (please no reviews)
http://codereview.chromium.org/10106013/diff/4003/remoting/host/url_request_context.cc File remoting/host/url_request_context.cc (right): http://codereview.chromium.org/10106013/diff/4003/remoting/host/url_request_context.cc#newcode65 remoting/host/url_request_context.cc:65: new URLRequestContext(proxy_config_service_.Pass()); On 2012/04/17 18:56:12, sergeyu wrote: > What ...
8 years, 8 months ago (2012-04-17 19:20:32 UTC) #9
Lambros
Python LGTM
8 years, 8 months ago (2012-04-17 19:22:58 UTC) #10
simonmorris
lgtm, after these two comments are addressed. http://codereview.chromium.org/10106013/diff/10001/remoting/host/heartbeat_sender.h File remoting/host/heartbeat_sender.h (right): http://codereview.chromium.org/10106013/diff/10001/remoting/host/heartbeat_sender.h#newcode82 remoting/host/heartbeat_sender.h:82: class Delegate ...
8 years, 8 months ago (2012-04-17 19:52:30 UTC) #11
alexeypa (please no reviews)
http://codereview.chromium.org/10106013/diff/10001/remoting/host/heartbeat_sender.h File remoting/host/heartbeat_sender.h (right): http://codereview.chromium.org/10106013/diff/10001/remoting/host/heartbeat_sender.h#newcode82 remoting/host/heartbeat_sender.h:82: class Delegate { On 2012/04/17 19:52:30, simonmorris wrote: > ...
8 years, 8 months ago (2012-04-17 20:01:05 UTC) #12
Sergey Ulanov
lgtm http://codereview.chromium.org/10106013/diff/4003/remoting/host/wts_session_process_launcher_win.cc File remoting/host/wts_session_process_launcher_win.cc (right): http://codereview.chromium.org/10106013/diff/4003/remoting/host/wts_session_process_launcher_win.cc#newcode42 remoting/host/wts_session_process_launcher_win.cc:42: kHostPermanentErrorMin = remoting::kInvalidHostConfigurationExitCode, maybe move this to constants.h ...
8 years, 8 months ago (2012-04-17 20:01:24 UTC) #13
alexeypa (please no reviews)
http://codereview.chromium.org/10106013/diff/4003/remoting/host/wts_session_process_launcher_win.cc File remoting/host/wts_session_process_launcher_win.cc (right): http://codereview.chromium.org/10106013/diff/4003/remoting/host/wts_session_process_launcher_win.cc#newcode42 remoting/host/wts_session_process_launcher_win.cc:42: kHostPermanentErrorMin = remoting::kInvalidHostConfigurationExitCode, On 2012/04/17 20:01:25, sergeyu wrote: > ...
8 years, 8 months ago (2012-04-17 20:28:08 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/10106013/12005
8 years, 8 months ago (2012-04-17 20:28:31 UTC) #15
commit-bot: I haz the power
8 years, 8 months ago (2012-04-17 22:30:56 UTC) #16
Change committed as 132675

Powered by Google App Engine
This is Rietveld 408576698