OLD | NEW |
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 #include "remoting/client/jni/chromoting_jni_instance.h" | 5 #include "remoting/client/jni/chromoting_jni_instance.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "remoting/client/audio_player.h" | 9 #include "remoting/client/audio_player.h" |
10 #include "remoting/client/jni/android_keymap.h" | 10 #include "remoting/client/jni/android_keymap.h" |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 // We ignore this message, since OnConnectionState() tells us the same thing. | 149 // We ignore this message, since OnConnectionState() tells us the same thing. |
150 } | 150 } |
151 | 151 |
152 void ChromotingJniInstance::SetCapabilities(const std::string& capabilities) {} | 152 void ChromotingJniInstance::SetCapabilities(const std::string& capabilities) {} |
153 | 153 |
154 void ChromotingJniInstance::SetPairingResponse( | 154 void ChromotingJniInstance::SetPairingResponse( |
155 const protocol::PairingResponse& response) { | 155 const protocol::PairingResponse& response) { |
156 NOTIMPLEMENTED(); | 156 NOTIMPLEMENTED(); |
157 } | 157 } |
158 | 158 |
| 159 void ChromotingJniInstance::DeliverHostMessage( |
| 160 const protocol::ExtensionMessage& message) { |
| 161 NOTIMPLEMENTED(); |
| 162 } |
| 163 |
159 protocol::ClipboardStub* ChromotingJniInstance::GetClipboardStub() { | 164 protocol::ClipboardStub* ChromotingJniInstance::GetClipboardStub() { |
160 return this; | 165 return this; |
161 } | 166 } |
162 | 167 |
163 protocol::CursorShapeStub* ChromotingJniInstance::GetCursorShapeStub() { | 168 protocol::CursorShapeStub* ChromotingJniInstance::GetCursorShapeStub() { |
164 return this; | 169 return this; |
165 } | 170 } |
166 | 171 |
167 scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> | 172 scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> |
168 ChromotingJniInstance::GetTokenFetcher(const std::string& host_public_key) { | 173 ChromotingJniInstance::GetTokenFetcher(const std::string& host_public_key) { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 pairable, | 278 pairable, |
274 callback)); | 279 callback)); |
275 return; | 280 return; |
276 } | 281 } |
277 | 282 |
278 pin_callback_ = callback; | 283 pin_callback_ = callback; |
279 jni_runtime_->DisplayAuthenticationPrompt(); | 284 jni_runtime_->DisplayAuthenticationPrompt(); |
280 } | 285 } |
281 | 286 |
282 } // namespace remoting | 287 } // namespace remoting |
OLD | NEW |