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

Unified Diff: remoting/host/desktop_environment.h

Issue 6711033: A new authenticated connection evicts an old one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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/desktop_environment.h
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
index 90bab71eac624323f810a7ff66c25bc9ecd7db21..609ec406242dacf96d307f50adfc3da4509fc872 100644
--- a/remoting/host/desktop_environment.h
+++ b/remoting/host/desktop_environment.h
@@ -12,6 +12,7 @@
namespace remoting {
namespace protocol {
+class ConnectionToClient;
class InputStub;
} // namespace protocol
@@ -26,10 +27,10 @@ class DesktopEnvironment : public protocol::HostStub {
// Called to signal that local login has succeeded and ChromotingHost can
// proceed with the next step.
- virtual void LocalLoginSucceeded() = 0;
+ virtual void LocalLoginSucceeded(protocol::ConnectionToClient* client) = 0;
// Called to signal that local login has failed.
- virtual void LocalLoginFailed() = 0;
+ virtual void LocalLoginFailed(protocol::ConnectionToClient* client) = 0;
};
DesktopEnvironment(Capturer* capturer, protocol::InputStub* input_stub);
@@ -46,6 +47,7 @@ class DesktopEnvironment : public protocol::HostStub {
virtual void SuggestResolution(
const protocol::SuggestResolutionRequest* msg, Task* done);
virtual void BeginSessionRequest(
+ protocol::ConnectionToClient* connection,
const protocol::LocalLoginCredentials* credentials, Task* done);
protected:

Powered by Google App Engine
This is Rietveld 408576698