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

Side by Side Diff: remoting/host/desktop_environment_fake.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/desktop_environment.cc ('k') | remoting/host/desktop_environment_fake.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_DESKTOP_ENVIRONMENT_FAKE_H_
6 #define REMOTING_HOST_DESKTOP_ENVIRONMENT_FAKE_H_
7
8 #include "remoting/host/desktop_environment.h"
9
10 namespace remoting {
11
12 // A DesktopEnvironmentFake allows connection to proceed for unit-testing,
13 // without needing a valid user/password for the system.
14 class DesktopEnvironmentFake : public DesktopEnvironment {
15 public:
16 DesktopEnvironmentFake(Capturer* capturer, protocol::InputStub* input_stub);
17 virtual ~DesktopEnvironmentFake();
18
19 // Overridden to do no authentication.
20 virtual void BeginSessionRequest(
21 const protocol::LocalLoginCredentials* credentials, Task* done);
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(DesktopEnvironmentFake);
25 };
26
27 } // namespace remoting
28
29 #endif // REMOTING_HOST_DESKTOP_ENVIRONMENT_FAKE_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_environment.cc ('k') | remoting/host/desktop_environment_fake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698