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

Issue 10828160: [Chromoting] Move CreateSessionToken() next to launch process utilities. (Closed)

Created:
8 years, 4 months ago by alexeypa (please no reviews)
Modified:
8 years, 4 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] Move CreateSessionToken() next to launch process utilities. BUG=134694 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150508

Patch Set 1 #

Total comments: 15

Patch Set 2 : CR feedback #

Total comments: 4

Patch Set 3 : Making GenericScopedHandle a move-only type. #

Total comments: 4

Patch Set 4 : CR feedback. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -116 lines) Patch
M base/win/scoped_handle.h View 1 2 3 6 chunks +21 lines, -2 lines 2 comments Download
M remoting/host/daemon_process_win.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/win/launch_process_with_token.h View 2 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/host/win/launch_process_with_token.cc View 1 2 4 chunks +100 lines, -2 lines 0 comments Download
M remoting/host/win/wts_session_process_launcher.h View 1 chunk +0 lines, -3 lines 0 comments Download
M remoting/host/win/wts_session_process_launcher.cc View 2 2 chunks +2 lines, -109 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
alexeypa (please no reviews)
Please take a look.
8 years, 4 months ago (2012-08-03 20:26:38 UTC) #1
Wez
http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.cc File remoting/host/win/launch_process_with_token.cc (right): http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.cc#newcode43 remoting/host/win/launch_process_with_token.cc:43: // |desired_access| rights. nit: Clarify that we make an ...
8 years, 4 months ago (2012-08-03 20:56:06 UTC) #2
alexeypa (please no reviews)
http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.cc File remoting/host/win/launch_process_with_token.cc (right): http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.cc#newcode43 remoting/host/win/launch_process_with_token.cc:43: // |desired_access| rights. On 2012/08/03 20:56:06, Wez wrote: > ...
8 years, 4 months ago (2012-08-03 21:40:38 UTC) #3
Wez
http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.h File remoting/host/win/launch_process_with_token.h (right): http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.h#newcode13 remoting/host/win/launch_process_with_token.h:13: #include "base/win/scoped_handle.h" On 2012/08/03 21:40:39, alexeypa wrote: > On ...
8 years, 4 months ago (2012-08-06 17:41:04 UTC) #4
alexeypa (please no reviews)
http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.h File remoting/host/win/launch_process_with_token.h (right): http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.h#newcode13 remoting/host/win/launch_process_with_token.h:13: #include "base/win/scoped_handle.h" On 2012/08/06 17:41:04, Wez wrote: > Personally ...
8 years, 4 months ago (2012-08-06 17:48:36 UTC) #5
Wez
LGTM but see comment re HANDLE vs ScoedHandle. http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.h File remoting/host/win/launch_process_with_token.h (right): http://codereview.chromium.org/10828160/diff/1/remoting/host/win/launch_process_with_token.h#newcode13 remoting/host/win/launch_process_with_token.h:13: #include ...
8 years, 4 months ago (2012-08-06 17:57:30 UTC) #6
alexeypa (please no reviews)
+brettw Brett, could you please take a look at base/win/scoped_handle.h?
8 years, 4 months ago (2012-08-06 21:17:12 UTC) #7
alexeypa (please no reviews)
+jar@ since brettw@ is OOO. jar@, please take a look at src/base/win/scoped_handle.h.
8 years, 4 months ago (2012-08-06 22:20:33 UTC) #8
jar (doing other things)
looking at scoped_handle.h.... I'm not familiar with the new C++ stuff you cited... and couldn't ...
8 years, 4 months ago (2012-08-07 01:00:30 UTC) #9
alexeypa (please no reviews)
Addressed comments in scoped_handle.h. https://chromiumcodereview.appspot.com/10828160/diff/3002/base/win/scoped_handle.h File base/win/scoped_handle.h (right): https://chromiumcodereview.appspot.com/10828160/diff/3002/base/win/scoped_handle.h#newcode56 base/win/scoped_handle.h:56: : handle_(reinterpret_cast<GenericScopedHandle&>(other).Take()) { On 2012/08/07 ...
8 years, 4 months ago (2012-08-07 17:55:14 UTC) #10
jar (doing other things)
LGTM (only because of similar code for smart_ptr ) Can you cite a reference? I'd ...
8 years, 4 months ago (2012-08-08 01:42:52 UTC) #11
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/10828160/diff/11004/base/win/scoped_handle.h File base/win/scoped_handle.h (right): https://chromiumcodereview.appspot.com/10828160/diff/11004/base/win/scoped_handle.h#newcode65 base/win/scoped_handle.h:65: // Swapping the handles helps to avoid problems while ...
8 years, 4 months ago (2012-08-08 01:59:29 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/10828160/11004
8 years, 4 months ago (2012-08-08 05:12:11 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-08 06:45:37 UTC) #14
Change committed as 150508

Powered by Google App Engine
This is Rietveld 408576698