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

Unified Diff: remoting/host/win/launch_process_with_token.h

Issue 10828181: [Chromoting] Moving common logic responsible for launching child processes to WorkerProcessLauncher… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/win/launch_process_with_token.h
diff --git a/remoting/host/win/launch_process_with_token.h b/remoting/host/win/launch_process_with_token.h
index 54479d5a56391460453cb655deacdac15a10f417..c250c541769e812e2270d163ffc322f016eb9067 100644
--- a/remoting/host/win/launch_process_with_token.h
+++ b/remoting/host/win/launch_process_with_token.h
@@ -22,8 +22,8 @@ bool CreateSessionToken(uint32 session_id, base::win::ScopedHandle* token_out);
// |user_token|. The session ID specified by the token is respected as well.
bool LaunchProcessWithToken(const FilePath& binary,
const std::wstring& command_line,
- HANDLE user_token,
- base::Process* process_out);
+ const base::win::ScopedHandle& user_token,
Wez 2012/08/08 20:13:41 This forces the caller to wrap the user token in a
alexeypa (please no reviews) 2012/08/08 21:49:58 Well, the intent is to emphasize that the caller o
Wez 2012/08/10 00:09:23 But actually all you want to express is that this
alexeypa (please no reviews) 2012/08/10 16:18:44 OK, it makes sense.
+ base::win::ScopedHandle* process_out);
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698