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

Unified Diff: remoting/host/desktop_environment_fake.cc

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_fake.cc
diff --git a/remoting/host/desktop_environment_fake.cc b/remoting/host/desktop_environment_fake.cc
index 36da27a759cde30c388d74c935cd45bf5dd5f312..301184657ca5a50f2723cb439471ed560e9a659e 100644
--- a/remoting/host/desktop_environment_fake.cc
+++ b/remoting/host/desktop_environment_fake.cc
@@ -18,11 +18,13 @@ DesktopEnvironmentFake::DesktopEnvironmentFake(Capturer* capturer,
DesktopEnvironmentFake::~DesktopEnvironmentFake() {}
void DesktopEnvironmentFake::BeginSessionRequest(
- const protocol::LocalLoginCredentials* credentials, Task* done) {
+ protocol::ConnectionToClient* connection,
+ const protocol::LocalLoginCredentials* credentials,
+ Task* done) {
DCHECK(event_handler_);
// For unit-test, don't require a valid Unix user/password for connection.
- event_handler_->LocalLoginSucceeded();
+ event_handler_->LocalLoginSucceeded(connection);
done->Run();
delete done;

Powered by Google App Engine
This is Rietveld 408576698