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

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: SensSAS() is called from an app now. 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
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 f6d7be62849ed7c288bc421ec020c276bda05976..5ca4951a94d5c11fd623cd3818f4ec7284df9793 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"
@@ -280,27 +279,7 @@ void WtsSessionProcessLauncher::OnChannelConnected(DWORD peer_pid) {
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;
-}
-
-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();
- }
- }
+ return false;
}
void WtsSessionProcessLauncher::OnSessionAttached(uint32 session_id) {

Powered by Google App Engine
This is Rietveld 408576698