diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-21 00:19:21 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-21 00:19:21 +0000 |
commit | 8e0373faf29129998c520feafc3ad2b194343169 (patch) | |
tree | 251a3f4f8ed5629d66814d840cc03626c7fc8c41 /remoting/host | |
parent | b05a08b74150acf8fc021263355a7a3e0d389f6c (diff) | |
download | chromium_src-8e0373faf29129998c520feafc3ad2b194343169.zip chromium_src-8e0373faf29129998c520feafc3ad2b194343169.tar.gz chromium_src-8e0373faf29129998c520feafc3ad2b194343169.tar.bz2 |
Message validation in message dispatchers.
BUG=70335
TEST=None
Review URL: http://codereview.chromium.org/7466004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-rw-r--r-- | remoting/host/client_session.cc | 11 | ||||
-rw-r--r-- | remoting/host/client_session.h | 2 |
2 files changed, 0 insertions, 13 deletions
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc index 8697671..16048bf8 100644 --- a/remoting/host/client_session.cc +++ b/remoting/host/client_session.cc @@ -38,17 +38,6 @@ ClientSession::ClientSession( ClientSession::~ClientSession() { } -void ClientSession::SuggestResolution( - const protocol::SuggestResolutionRequest* msg, Task* done) { - base::ScopedTaskRunner done_runner(done); - - if (!authenticated_) { - LOG(WARNING) << "Invalid control message received " - << "(client not authenticated)."; - return; - } -} - void ClientSession::BeginSessionRequest( const protocol::LocalLoginCredentials* credentials, Task* done) { DCHECK(event_handler_); diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h index 34838e0..dded94a 100644 --- a/remoting/host/client_session.h +++ b/remoting/host/client_session.h @@ -46,8 +46,6 @@ class ClientSession : public protocol::HostStub, protocol::InputStub* input_stub); // protocol::HostStub interface. - virtual void SuggestResolution( - const protocol::SuggestResolutionRequest* msg, Task* done); virtual void BeginSessionRequest( const protocol::LocalLoginCredentials* credentials, Task* done); |