Chromium Code Reviews| Index: remoting/client/jni/chromoting_jni_instance.cc |
| diff --git a/remoting/client/jni/chromoting_jni_instance.cc b/remoting/client/jni/chromoting_jni_instance.cc |
| index 5dd94b30b11fa6df9ba39825264bc51a535cfc6e..54e1f8c727dc10eeae6abebed6a57af2e62022f3 100644 |
| --- a/remoting/client/jni/chromoting_jni_instance.cc |
| +++ b/remoting/client/jni/chromoting_jni_instance.cc |
| @@ -15,6 +15,7 @@ |
| #include "remoting/client/jni/chromoting_jni_runtime.h" |
| #include "remoting/client/log_to_server.h" |
| #include "remoting/client/software_video_renderer.h" |
| +#include "remoting/client/token_fetcher_proxy.h" |
| #include "remoting/jingle_glue/chromium_port_allocator.h" |
| #include "remoting/jingle_glue/chromium_socket_factory.h" |
| #include "remoting/jingle_glue/network_settings.h" |
| @@ -105,6 +106,15 @@ void ChromotingJniInstance::Cleanup() { |
| this)); |
| } |
| +void ChromotingJniInstance::FetchThirdPartyToken( |
| + const GURL& token_url, |
| + const std::string& client_id, |
| + const std::string& scope, |
| + base::WeakPtr<TokenFetcherProxy> jni_token_fetcher) { |
| + // TODO(kelvinp) Calls into the jni_runtime_ to obtain a token from the |
| + // android app (Android Beyond Corp - Part II). |
|
Lambros
2014/06/04 22:20:19
nit: Third Party Authentication (or just remove th
kelvinp
2014/06/05 23:53:14
Done.
|
| +} |
| + |
| void ChromotingJniInstance::ProvideSecret(const std::string& pin, |
| bool create_pairing, |
| const std::string& device_name) { |