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

Side by Side Diff: remoting/client/jni/chromoting_jni_instance.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/client_user_interface.h ('k') | remoting/client/jni/chromoting_jni_instance.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHROMOTING_JNI_INSTANCE_H_ 5 #ifndef REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_
6 #define REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_ 6 #define REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void PerformKeyboardAction(int key_code, bool key_down); 71 void PerformKeyboardAction(int key_code, bool key_down);
72 72
73 // ClientUserInterface implementation. 73 // ClientUserInterface implementation.
74 virtual void OnConnectionState( 74 virtual void OnConnectionState(
75 protocol::ConnectionToHost::State state, 75 protocol::ConnectionToHost::State state,
76 protocol::ErrorCode error) OVERRIDE; 76 protocol::ErrorCode error) OVERRIDE;
77 virtual void OnConnectionReady(bool ready) OVERRIDE; 77 virtual void OnConnectionReady(bool ready) OVERRIDE;
78 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; 78 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE;
79 virtual void SetPairingResponse( 79 virtual void SetPairingResponse(
80 const protocol::PairingResponse& response) OVERRIDE; 80 const protocol::PairingResponse& response) OVERRIDE;
81 virtual void DeliverHostMessage(
82 const protocol::ExtensionMessage& message) OVERRIDE;
81 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE; 83 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE;
82 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE; 84 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE;
83 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> 85 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher>
84 GetTokenFetcher(const std::string& host_public_key) OVERRIDE; 86 GetTokenFetcher(const std::string& host_public_key) OVERRIDE;
85 87
86 // CursorShapeStub implementation. 88 // CursorShapeStub implementation.
87 virtual void InjectClipboardEvent( 89 virtual void InjectClipboardEvent(
88 const protocol::ClipboardEvent& event) OVERRIDE; 90 const protocol::ClipboardEvent& event) OVERRIDE;
89 91
90 // ClipboardStub implementation. 92 // ClipboardStub implementation.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 bool create_pairing_; 146 bool create_pairing_;
145 147
146 friend class base::RefCountedThreadSafe<ChromotingJniInstance>; 148 friend class base::RefCountedThreadSafe<ChromotingJniInstance>;
147 149
148 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); 150 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance);
149 }; 151 };
150 152
151 } // namespace remoting 153 } // namespace remoting
152 154
153 #endif 155 #endif
OLDNEW
« no previous file with comments | « remoting/client/client_user_interface.h ('k') | remoting/client/jni/chromoting_jni_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698