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

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

Issue 290173011: Cleanup: Use base::CommandLine in remoting/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 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.cc ('k') | remoting/host/win/unprivileged_process_delegate.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.cc
===================================================================
--- remoting/host/win/launch_process_with_token.cc (revision 272152)
+++ remoting/host/win/launch_process_with_token.cc (working copy)
@@ -287,7 +287,7 @@
bool SendCreateProcessRequest(
HANDLE pipe,
const base::FilePath::StringType& application_name,
- const CommandLine::StringType& command_line,
+ const base::CommandLine::StringType& command_line,
DWORD creation_flags,
const base::char16* desktop_name) {
// |CreateProcessRequest| structure passes the same parameters to
@@ -370,11 +370,10 @@
bool CreateRemoteSessionProcess(
uint32 session_id,
const base::FilePath::StringType& application_name,
- const CommandLine::StringType& command_line,
+ const base::CommandLine::StringType& command_line,
DWORD creation_flags,
const base::char16* desktop_name,
- PROCESS_INFORMATION* process_information_out)
-{
+ PROCESS_INFORMATION* process_information_out) {
DCHECK_LT(base::win::GetVersion(), base::win::VERSION_VISTA);
base::win::ScopedHandle pipe;
@@ -399,7 +398,7 @@
return true;
}
-} // namespace
+} // namespace
namespace remoting {
@@ -448,7 +447,7 @@
}
bool LaunchProcessWithToken(const base::FilePath& binary,
- const CommandLine::StringType& command_line,
+ const base::CommandLine::StringType& command_line,
HANDLE user_token,
SECURITY_ATTRIBUTES* process_attributes,
SECURITY_ATTRIBUTES* thread_attributes,
@@ -521,4 +520,4 @@
return true;
}
-} // namespace remoting
+} // namespace remoting
« no previous file with comments | « remoting/host/win/host_service.cc ('k') | remoting/host/win/unprivileged_process_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698