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

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: Updated protocol mocks. 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
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void PerformKeyboardAction(int key_code, bool key_down); 68 void PerformKeyboardAction(int key_code, bool key_down);
69 69
70 // ClientUserInterface implementation. 70 // ClientUserInterface implementation.
71 virtual void OnConnectionState( 71 virtual void OnConnectionState(
72 protocol::ConnectionToHost::State state, 72 protocol::ConnectionToHost::State state,
73 protocol::ErrorCode error) OVERRIDE; 73 protocol::ErrorCode error) OVERRIDE;
74 virtual void OnConnectionReady(bool ready) OVERRIDE; 74 virtual void OnConnectionReady(bool ready) OVERRIDE;
75 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; 75 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE;
76 virtual void SetPairingResponse( 76 virtual void SetPairingResponse(
77 const protocol::PairingResponse& response) OVERRIDE; 77 const protocol::PairingResponse& response) OVERRIDE;
78 virtual void DeliverHostMessage(
79 const protocol::ExtensionMessage& message) OVERRIDE;
78 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE; 80 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE;
79 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE; 81 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE;
80 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> 82 virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher>
81 GetTokenFetcher(const std::string& host_public_key) OVERRIDE; 83 GetTokenFetcher(const std::string& host_public_key) OVERRIDE;
82 84
83 // CursorShapeStub implementation. 85 // CursorShapeStub implementation.
84 virtual void InjectClipboardEvent( 86 virtual void InjectClipboardEvent(
85 const protocol::ClipboardEvent& event) OVERRIDE; 87 const protocol::ClipboardEvent& event) OVERRIDE;
86 88
87 // ClipboardStub implementation. 89 // ClipboardStub implementation.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 std::string host_pubkey_; 135 std::string host_pubkey_;
134 136
135 friend class base::RefCountedThreadSafe<ChromotingJniInstance>; 137 friend class base::RefCountedThreadSafe<ChromotingJniInstance>;
136 138
137 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); 139 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance);
138 }; 140 };
139 141
140 } // namespace remoting 142 } // namespace remoting
141 143
142 #endif 144 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698