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

Unified Diff: remoting/client/jni/chromoting_jni_runtime.h

Issue 319273003: Third Party Authentication for Android Part II - Java Native Interface plumbing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: JNI plumbing Created 6 years, 6 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_runtime.h
diff --git a/remoting/client/jni/chromoting_jni_runtime.h b/remoting/client/jni/chromoting_jni_runtime.h
index bb356a13616e33bc814d28589bdefec7c486dea2..86931f6da82bc7d030212724ddbaf256eb30878c 100644
--- a/remoting/client/jni/chromoting_jni_runtime.h
+++ b/remoting/client/jni/chromoting_jni_runtime.h
@@ -96,6 +96,12 @@ class ChromotingJniRuntime {
// Draws the latest image buffer onto the canvas. Call on the display thread.
void RedrawCanvas();
+ // Pops up a third party login page to fetch token required for
+ // authentication.
Lambros 2014/06/07 01:38:12 Add "Call on UI thread." I think these methods are
kelvinp 2014/06/09 18:42:32 Done.
+ void FetchThirdPartyToken(const GURL& token_url,
+ const std::string& client_id,
+ const std::string& scope);
Lambros 2014/06/07 01:38:12 Same here. Make sure the ordering of methods in .c
kelvinp 2014/06/09 18:42:32 Done.
+
private:
ChromotingJniRuntime();

Powered by Google App Engine
This is Rietveld 408576698