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

Unified Diff: remoting/client/jni/chromoting_jni_instance.cc

Issue 311983003: Third Party Authentication for Android Part I - TokenFetcherProxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: JNI Token Fetcher Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
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..4d4c0ee5053249c4f32389251c2036ac492e5ab4 100644
--- a/remoting/client/jni/chromoting_jni_instance.cc
+++ b/remoting/client/jni/chromoting_jni_instance.cc
@@ -105,6 +105,15 @@ void ChromotingJniInstance::Cleanup() {
this));
}
+void ChromotingJniInstance::FetchThirdPartyToken(
+ const GURL& token_url,
+ const std::string& client_id,
+ const std::string& scope,
+ base::WeakPtr<JniTokenFetcher> jni_token_fetcher) {
+ // TODO(kelvinp) Calls into the jni_runtime_ to obtain a token from the
+ // android app (Android Beyond Corp - Part II).
+}
+
void ChromotingJniInstance::ProvideSecret(const std::string& pin,
bool create_pairing,
const std::string& device_name) {

Powered by Google App Engine
This is Rietveld 408576698