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

Side by Side Diff: remoting/host/win/unprivileged_process_delegate.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 // 5 //
6 // This file implements the Windows service controlling Me2Me host processes 6 // This file implements the Windows service controlling Me2Me host processes
7 // running within user sessions. 7 // running within user sessions.
8 8
9 #include "remoting/host/win/unprivileged_process_delegate.h" 9 #include "remoting/host/win/unprivileged_process_delegate.h"
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 handles.Swap(*handles_out); 216 handles.Swap(*handles_out);
217 return true; 217 return true;
218 } 218 }
219 219
220 } // namespace 220 } // namespace
221 221
222 UnprivilegedProcessDelegate::UnprivilegedProcessDelegate( 222 UnprivilegedProcessDelegate::UnprivilegedProcessDelegate(
223 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 223 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
224 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, 224 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
225 const FilePath& binary_path) 225 const base::FilePath& binary_path)
226 : main_task_runner_(main_task_runner), 226 : main_task_runner_(main_task_runner),
227 io_task_runner_(io_task_runner), 227 io_task_runner_(io_task_runner),
228 binary_path_(binary_path) { 228 binary_path_(binary_path) {
229 } 229 }
230 230
231 UnprivilegedProcessDelegate::~UnprivilegedProcessDelegate() { 231 UnprivilegedProcessDelegate::~UnprivilegedProcessDelegate() {
232 KillProcess(CONTROL_C_EXIT); 232 KillProcess(CONTROL_C_EXIT);
233 } 233 }
234 234
235 bool UnprivilegedProcessDelegate::Send(IPC::Message* message) { 235 bool UnprivilegedProcessDelegate::Send(IPC::Message* message) {
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 KillProcess(CONTROL_C_EXIT); 383 KillProcess(CONTROL_C_EXIT);
384 return false; 384 return false;
385 } 385 }
386 386
387 channel_ = server.Pass(); 387 channel_ = server.Pass();
388 *process_exit_event_out = process_exit_event.Pass(); 388 *process_exit_event_out = process_exit_event.Pass();
389 return true; 389 return true;
390 } 390 }
391 391
392 } // namespace remoting 392 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/unprivileged_process_delegate.h ('k') | remoting/host/win/wts_console_session_process_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698