| Index: remoting/protocol/connection_to_client.h
|
| diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
|
| index d2721f3303c2c34689882b27128e487502b55685..c9e4555475e7d6624fb67c443a6e4154ff550e67 100644
|
| --- a/remoting/protocol/connection_to_client.h
|
| +++ b/remoting/protocol/connection_to_client.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// 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.
|
|
|
| @@ -50,11 +50,8 @@ class ConnectionToClient :
|
| // It is guranteed that |handler| is called only on the |message_loop|.
|
| ConnectionToClient(MessageLoop* message_loop,
|
| EventHandler* handler,
|
| - HostStub* host_stub,
|
| InputStub* input_stub);
|
|
|
| - virtual ~ConnectionToClient();
|
| -
|
| virtual void Init(Session* session);
|
|
|
| // Returns the connection in use.
|
| @@ -72,9 +69,19 @@ class ConnectionToClient :
|
| // Return pointer to ClientStub.
|
| virtual ClientStub* client_stub();
|
|
|
| + virtual HostStub* host_stub();
|
| + virtual void set_host_stub(HostStub* host_stub);
|
| +
|
| // Called when the host accepts the client authentication.
|
| void OnClientAuthenticated();
|
|
|
| + // Whether the client has been authenticated.
|
| + bool client_authenticated();
|
| +
|
| + protected:
|
| + friend class base::RefCountedThreadSafe<ConnectionToClient>;
|
| + virtual ~ConnectionToClient();
|
| +
|
| private:
|
| // Callback for protocol Session.
|
| void OnSessionStateChange(Session::State state);
|
|
|