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

Side by Side Diff: remoting/client/chromoting_client.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 | « no previous file | remoting/client/chromoting_client.cc » ('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 // ChromotingClient is the controller for the Client implementation. 5 // ChromotingClient is the controller for the Client implementation.
6 6
7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_
8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 FrameProducer* GetFrameProducer(); 60 FrameProducer* GetFrameProducer();
61 61
62 // Return the stats recorded by this client. 62 // Return the stats recorded by this client.
63 ChromotingStats* GetStats(); 63 ChromotingStats* GetStats();
64 64
65 // ClientStub implementation. 65 // ClientStub implementation.
66 virtual void SetCapabilities( 66 virtual void SetCapabilities(
67 const protocol::Capabilities& capabilities) OVERRIDE; 67 const protocol::Capabilities& capabilities) OVERRIDE;
68 virtual void SetPairingResponse( 68 virtual void SetPairingResponse(
69 const protocol::PairingResponse& pairing_response) OVERRIDE; 69 const protocol::PairingResponse& pairing_response) OVERRIDE;
70 virtual void DeliverHostMessage(
71 const protocol::ExtensionMessage& message) OVERRIDE;
70 72
71 // ClipboardStub implementation for receiving clipboard data from host. 73 // ClipboardStub implementation for receiving clipboard data from host.
72 virtual void InjectClipboardEvent( 74 virtual void InjectClipboardEvent(
73 const protocol::ClipboardEvent& event) OVERRIDE; 75 const protocol::ClipboardEvent& event) OVERRIDE;
74 76
75 // CursorShapeStub implementation for receiving cursor shape updates. 77 // CursorShapeStub implementation for receiving cursor shape updates.
76 virtual void SetCursorShape( 78 virtual void SetCursorShape(
77 const protocol::CursorShapeInfo& cursor_shape) OVERRIDE; 79 const protocol::CursorShapeInfo& cursor_shape) OVERRIDE;
78 80
79 // ConnectionToHost::HostEventCallback implementation. 81 // ConnectionToHost::HostEventCallback implementation.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // WeakPtr used to avoid tasks accessing the client after it is deleted. 115 // WeakPtr used to avoid tasks accessing the client after it is deleted.
114 base::WeakPtrFactory<ChromotingClient> weak_factory_; 116 base::WeakPtrFactory<ChromotingClient> weak_factory_;
115 base::WeakPtr<ChromotingClient> weak_ptr_; 117 base::WeakPtr<ChromotingClient> weak_ptr_;
116 118
117 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); 119 DISALLOW_COPY_AND_ASSIGN(ChromotingClient);
118 }; 120 };
119 121
120 } // namespace remoting 122 } // namespace remoting
121 123
122 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 124 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/chromoting_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698