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

Issue 10893009: Log when the host is started for an account. (Closed)

Created:
8 years, 3 months ago by rmsousa
Modified:
8 years, 3 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

Log when the host is started for an account. BUG=132683 TEST=me2me_virtual_host (manual) and it2me_basic (pyauto) on Linux Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154441

Patch Set 1 #

Patch Set 2 : Typo on Windows code #

Total comments: 14

Patch Set 3 : Move OnStart to HostStatusObserver #

Patch Set 4 : Add shutdown log #

Total comments: 2

Patch Set 5 : Change shutdown log to a TODO, update unit test expectations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -17 lines) Patch
M remoting/host/chromoting_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 4 14 chunks +14 lines, -11 lines 0 comments Download
M remoting/host/host_event_logger_posix.cc View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M remoting/host/host_event_logger_win.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/host_status_observer.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/remoting_host_messages.mc View 4 1 chunk +8 lines, -0 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/simple_host_process.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
rmsousa
I thought about adding the OnStart method to the HostStatusObserver instead, to be more general/consistent, ...
8 years, 3 months ago (2012-08-29 13:16:04 UTC) #1
alexeypa (please no reviews)
A drive-by. https://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger.h File remoting/host/host_event_logger.h (right): https://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger.h#newcode28 remoting/host/host_event_logger.h:28: virtual void OnStart(const std::string& xmpp_login) {}; ChromotingHost::Start ...
8 years, 3 months ago (2012-08-29 15:15:48 UTC) #2
Jamie
http://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger.h File remoting/host/host_event_logger.h (right): http://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger.h#newcode28 remoting/host/host_event_logger.h:28: virtual void OnStart(const std::string& xmpp_login) {}; On 2012/08/29 15:15:48, ...
8 years, 3 months ago (2012-08-29 17:24:14 UTC) #3
Lambros
I'm inclined to agree that HostStatusObserver is the right place for OnStart(), even though the ...
8 years, 3 months ago (2012-08-29 17:34:25 UTC) #4
rmsousa
http://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger.h File remoting/host/host_event_logger.h (right): http://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger.h#newcode28 remoting/host/host_event_logger.h:28: virtual void OnStart(const std::string& xmpp_login) {}; On 2012/08/29 17:34:25, ...
8 years, 3 months ago (2012-08-29 19:24:40 UTC) #5
Jamie
http://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger_posix.cc File remoting/host/host_event_logger_posix.cc (right): http://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger_posix.cc#newcode93 remoting/host/host_event_logger_posix.cc:93: void HostEventLoggerPosix::OnShutdown() { On 2012/08/29 19:24:40, rmsousa wrote: > ...
8 years, 3 months ago (2012-08-30 06:09:33 UTC) #6
rmsousa
http://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger_posix.cc File remoting/host/host_event_logger_posix.cc (right): http://chromiumcodereview.appspot.com/10893009/diff/5001/remoting/host/host_event_logger_posix.cc#newcode93 remoting/host/host_event_logger_posix.cc:93: void HostEventLoggerPosix::OnShutdown() { On 2012/08/30 06:09:33, Jamie wrote: > ...
8 years, 3 months ago (2012-08-30 16:29:03 UTC) #7
Jamie
lgtm
8 years, 3 months ago (2012-08-30 17:37:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmsousa@chromium.org/10893009/13001
8 years, 3 months ago (2012-08-30 17:39:02 UTC) #9
commit-bot: I haz the power
Try job failure for 10893009-13001 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-08-30 20:26:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmsousa@chromium.org/10893009/13001
8 years, 3 months ago (2012-08-30 20:40:13 UTC) #11
commit-bot: I haz the power
Try job failure for 10893009-13001 (retry) (previous was lost) on linux_rel for step "interactive_ui_tests". It's ...
8 years, 3 months ago (2012-08-30 23:28:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmsousa@chromium.org/10893009/13001
8 years, 3 months ago (2012-08-31 12:47:54 UTC) #13
commit-bot: I haz the power
8 years, 3 months ago (2012-08-31 16:26:25 UTC) #14
Change committed as 154441

Powered by Google App Engine
This is Rietveld 408576698