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..a5ca339a9f0228a1d74908336f561d55e2402288 100644 |
--- a/remoting/client/jni/chromoting_jni_runtime.h |
+++ b/remoting/client/jni/chromoting_jni_runtime.h |
@@ -82,6 +82,12 @@ class ChromotingJniRuntime { |
const std::string& id, |
const std::string& secret); |
+ // Pops up a third party login page to fetch token required for |
+ // authentication. Call on UI thread. |
+ void FetchThirdPartyToken(const GURL& token_url, |
+ const std::string& client_id, |
+ const std::string& scope); |
+ |
// Creates a new Bitmap object to store a video frame. |
base::android::ScopedJavaLocalRef<jobject> NewBitmap( |
webrtc::DesktopSize size); |