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

Side by Side Diff: remoting/client/client_user_interface.h

Issue 22477006: Added JsonMessage to the control channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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/client/chromoting_client.cc ('k') | remoting/client/jni/chromoting_jni_instance.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ 5 #ifndef REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_
6 #define REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ 6 #define REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 24 matching lines...) Expand all
35 virtual void OnConnectionReady(bool ready) = 0; 35 virtual void OnConnectionReady(bool ready) = 0;
36 36
37 // Passes the final set of capabilities negotiated between the client and host 37 // Passes the final set of capabilities negotiated between the client and host
38 // to the application. 38 // to the application.
39 virtual void SetCapabilities(const std::string& capabilities) = 0; 39 virtual void SetCapabilities(const std::string& capabilities) = 0;
40 40
41 // Passes a pairing response message to the client. 41 // Passes a pairing response message to the client.
42 virtual void SetPairingResponse( 42 virtual void SetPairingResponse(
43 const protocol::PairingResponse& pairing_response) = 0; 43 const protocol::PairingResponse& pairing_response) = 0;
44 44
45 // Deliver an extension message from the host to the client.
46 virtual void DeliverHostMessage(
47 const protocol::ExtensionMessage& message) = 0;
48
45 // Get the view's ClipboardStub implementation. 49 // Get the view's ClipboardStub implementation.
46 virtual protocol::ClipboardStub* GetClipboardStub() = 0; 50 virtual protocol::ClipboardStub* GetClipboardStub() = 0;
47 51
48 // Get the view's CursorShapeStub implementation. 52 // Get the view's CursorShapeStub implementation.
49 virtual protocol::CursorShapeStub* GetCursorShapeStub() = 0; 53 virtual protocol::CursorShapeStub* GetCursorShapeStub() = 0;
50 54
51 // Get the view's TokenFetcher implementation. 55 // Get the view's TokenFetcher implementation.
52 // The TokenFetcher implementation may require interactive authentication. 56 // The TokenFetcher implementation may require interactive authentication.
53 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> 57 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher>
54 GetTokenFetcher(const std::string& host_public_key) = 0; 58 GetTokenFetcher(const std::string& host_public_key) = 0;
55 }; 59 };
56 60
57 } // namespace remoting 61 } // namespace remoting
58 62
59 #endif // REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_ 63 #endif // REMOTING_CLIENT_CLIENT_USER_INTERFACE_H_
OLDNEW
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/jni/chromoting_jni_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698