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

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

Issue 10832068: Moving Windows-only files: remoting/host -> remoting/host/win. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « remoting/host/win/host_service_resource.h ('k') | remoting/host/win/launch_process_with_token.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/launch_process_with_token.h
===================================================================
--- remoting/host/win/launch_process_with_token.h (revision 0)
+++ remoting/host/win/launch_process_with_token.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_HOST_LAUNCH_PROCESS_IN_SESSION_WIN_H_
-#define REMOTING_HOST_LAUNCH_PROCESS_IN_SESSION_WIN_H_
+#ifndef REMOTING_HOST_WIN_LAUNCH_PROCESS_WITH_TOKEN_H_
+#define REMOTING_HOST_WIN_LAUNCH_PROCESS_WITH_TOKEN_H_
#include <windows.h>
#include <string>
@@ -13,13 +13,13 @@
namespace remoting {
-// Launches |binary| in a different session. The target session is specified by
-// |user_token|.
-bool LaunchProcessInSession(const FilePath& binary,
+// Launches |binary| in the security context of the user represented by
+// |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);
} // namespace remoting
-#endif // REMOTING_HOST_LAUNCH_PROCESS_IN_SESSION_WIN_H_
+#endif // REMOTING_HOST_WIN_LAUNCH_PROCESS_WITH_TOKEN_H_
« no previous file with comments | « remoting/host/win/host_service_resource.h ('k') | remoting/host/win/launch_process_with_token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698