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

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

Issue 10836224: [Chromoting] Call SendSAS() directly from the host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased and made it work. 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
« no previous file with comments | « remoting/host/win/wts_session_process_launcher.h ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/wts_session_process_launcher.cc
diff --git a/remoting/host/win/wts_session_process_launcher.cc b/remoting/host/win/wts_session_process_launcher.cc
index bec5db12ef9dba4bfa5004fd362e09e486dcf747..cf5a9083ab6783fe7e4ab78bd2f0b4fc097535da 100644
--- a/remoting/host/win/wts_session_process_launcher.cc
+++ b/remoting/host/win/wts_session_process_launcher.cc
@@ -30,7 +30,6 @@
#include "ipc/ipc_message_macros.h"
#include "remoting/host/constants.h"
#include "remoting/host/chromoting_messages.h"
-#include "remoting/host/sas_injector.h"
#include "remoting/host/win/launch_process_with_token.h"
#include "remoting/host/win/wts_console_monitor.h"
@@ -207,13 +206,7 @@ void WtsSessionProcessLauncher::OnChannelConnected() {
bool WtsSessionProcessLauncher::OnMessageReceived(const IPC::Message& message) {
DCHECK(main_message_loop_->BelongsToCurrentThread());
- bool handled = true;
- IPC_BEGIN_MESSAGE_MAP(WtsSessionProcessLauncher, message)
- IPC_MESSAGE_HANDLER(ChromotingHostMsg_SendSasToConsole,
- OnSendSasToConsole)
- IPC_MESSAGE_UNHANDLED(handled = false)
- IPC_END_MESSAGE_MAP()
- return handled;
+ return false;
}
void WtsSessionProcessLauncher::OnSessionAttached(uint32 session_id) {
@@ -441,18 +434,4 @@ void WtsSessionProcessLauncher::OnLauncherStopped() {
}
}
-void WtsSessionProcessLauncher::OnSendSasToConsole() {
- DCHECK(main_message_loop_->BelongsToCurrentThread());
-
- if (attached_) {
- if (sas_injector_.get() == NULL) {
- sas_injector_ = SasInjector::Create();
- }
-
- if (sas_injector_.get() != NULL) {
- sas_injector_->InjectSas();
- }
- }
-}
-
} // namespace remoting
« no previous file with comments | « remoting/host/win/wts_session_process_launcher.h ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698