Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Issue 10629016: [Chromoting] ChromotingHost may impose a maximum session duration. (Closed)

Created:
8 years, 6 months ago by simonmorris
Modified:
8 years, 6 months ago
Reviewers:
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

This CL sets a maximum session duration only for Linux Me2Me, and hard-codes it to 12 hours. A follow-up CL will get the maximum session duration from a policy. BUG=132678 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143767

Patch Set 1 #

Patch Set 2 : 12 hours -> 20 hours. #

Total comments: 17

Patch Set 3 : Review. #

Total comments: 2

Patch Set 4 : Fix indentation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -6 lines) Patch
M remoting/host/chromoting_host.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/client_session.h View 1 2 3 chunks +11 lines, -1 line 0 comments Download
M remoting/host/client_session.cc View 1 2 3 4 chunks +11 lines, -2 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
simonmorris
ptal
8 years, 6 months ago (2012-06-22 16:55:10 UTC) #1
Jamie
On 2012/06/22 16:55:10, simonmorris wrote: > ptal I think we'd been asked to make this ...
8 years, 6 months ago (2012-06-22 17:10:24 UTC) #2
simonmorris
On 2012/06/22 17:10:24, Jamie wrote: > On 2012/06/22 16:55:10, simonmorris wrote: > > ptal > ...
8 years, 6 months ago (2012-06-22 17:41:26 UTC) #3
Wez
http://codereview.chromium.org/10629016/diff/4001/remoting/host/chromoting_host.h File remoting/host/chromoting_host.h (right): http://codereview.chromium.org/10629016/diff/4001/remoting/host/chromoting_host.h#newcode75 remoting/host/chromoting_host.h:75: long max_session_duration_seconds); nit: Use a TimeDelta for this? http://codereview.chromium.org/10629016/diff/4001/remoting/host/chromoting_host.h#newcode75 ...
8 years, 6 months ago (2012-06-22 18:52:21 UTC) #4
simonmorris
http://codereview.chromium.org/10629016/diff/4001/remoting/host/chromoting_host.h File remoting/host/chromoting_host.h (right): http://codereview.chromium.org/10629016/diff/4001/remoting/host/chromoting_host.h#newcode75 remoting/host/chromoting_host.h:75: long max_session_duration_seconds); On 2012/06/22 18:52:21, Wez wrote: > nit: ...
8 years, 6 months ago (2012-06-22 20:17:23 UTC) #5
Wez
LGTM! http://codereview.chromium.org/10629016/diff/4001/remoting/host/client_session.h File remoting/host/client_session.h (right): http://codereview.chromium.org/10629016/diff/4001/remoting/host/client_session.h#newcode72 remoting/host/client_session.h:72: long max_duration_seconds); On 2012/06/22 20:17:23, simonmorris wrote: > ...
8 years, 6 months ago (2012-06-22 23:49:17 UTC) #6
simonmorris
fyi http://codereview.chromium.org/10629016/diff/10001/remoting/host/client_session.cc File remoting/host/client_session.cc (right): http://codereview.chromium.org/10629016/diff/10001/remoting/host/client_session.cc#newcode107 remoting/host/client_session.cc:107: this, &ClientSession::Disconnect); On 2012/06/22 23:49:18, Wez wrote: > ...
8 years, 6 months ago (2012-06-22 23:54:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10629016/20001
8 years, 6 months ago (2012-06-22 23:54:52 UTC) #8
commit-bot: I haz the power
8 years, 6 months ago (2012-06-23 01:05:15 UTC) #9
Change committed as 143767

Powered by Google App Engine
This is Rietveld 408576698