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

Side by Side Diff: remoting/host/win/wts_console_session_process_driver.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/win/wts_console_session_process_driver.h" 5 #include "remoting/host/win/wts_console_session_process_driver.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void WtsConsoleSessionProcessDriver::OnSessionAttached(uint32 session_id) { 75 void WtsConsoleSessionProcessDriver::OnSessionAttached(uint32 session_id) {
76 DCHECK(caller_task_runner_->BelongsToCurrentThread()); 76 DCHECK(caller_task_runner_->BelongsToCurrentThread());
77 77
78 if (stoppable_state() != Stoppable::kRunning) { 78 if (stoppable_state() != Stoppable::kRunning) {
79 return; 79 return;
80 } 80 }
81 81
82 DCHECK(launcher_.get() == NULL); 82 DCHECK(launcher_.get() == NULL);
83 83
84 // Construct the host binary name. 84 // Construct the host binary name.
85 FilePath host_binary; 85 base::FilePath host_binary;
86 if (!GetInstalledBinaryPath(kHostBinaryName, &host_binary)) { 86 if (!GetInstalledBinaryPath(kHostBinaryName, &host_binary)) {
87 Stop(); 87 Stop();
88 return; 88 return;
89 } 89 }
90 90
91 // Create a Delegate capable of launching an elevated process in the session. 91 // Create a Delegate capable of launching an elevated process in the session.
92 scoped_ptr<WtsSessionProcessDelegate> delegate( 92 scoped_ptr<WtsSessionProcessDelegate> delegate(
93 new WtsSessionProcessDelegate(caller_task_runner_, 93 new WtsSessionProcessDelegate(caller_task_runner_,
94 io_task_runner_, 94 io_task_runner_,
95 host_binary, 95 host_binary,
(...skipping 26 matching lines...) Expand all
122 if (!launcher_) 122 if (!launcher_)
123 return; 123 return;
124 124
125 if (!sas_injector_) 125 if (!sas_injector_)
126 sas_injector_ = SasInjector::Create(); 126 sas_injector_ = SasInjector::Create();
127 if (!sas_injector_->InjectSas()) 127 if (!sas_injector_->InjectSas())
128 LOG(ERROR) << "Failed to inject Secure Attention Sequence."; 128 LOG(ERROR) << "Failed to inject Secure Attention Sequence.";
129 } 129 }
130 130
131 } // namespace remoting 131 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/unprivileged_process_delegate.cc ('k') | remoting/host/win/wts_session_process_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698