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

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: Sync. 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
« no previous file with comments | « remoting/host/desktop_environment_fake.h ('k') | remoting/protocol/connection_to_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_environment_fake.cc
diff --git a/remoting/host/desktop_environment_fake.cc b/remoting/host/desktop_environment_fake.cc
deleted file mode 100644
index 36da27a759cde30c388d74c935cd45bf5dd5f312..0000000000000000000000000000000000000000
--- a/remoting/host/desktop_environment_fake.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "remoting/host/desktop_environment_fake.h"
-
-#include "base/task.h"
-
-using remoting::protocol::InputStub;
-
-namespace remoting {
-
-DesktopEnvironmentFake::DesktopEnvironmentFake(Capturer* capturer,
- InputStub* input_stub)
- : DesktopEnvironment(capturer, input_stub) {
-}
-
-DesktopEnvironmentFake::~DesktopEnvironmentFake() {}
-
-void DesktopEnvironmentFake::BeginSessionRequest(
- 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();
-
- done->Run();
- delete done;
-}
-
-} // namespace remoting
« no previous file with comments | « remoting/host/desktop_environment_fake.h ('k') | remoting/protocol/connection_to_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698