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

Unified Diff: blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java

Issue 2204223005: Blimp OAuth2 token retreival on application start up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes for nits. Created 4 years, 4 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
« no previous file with comments | « blimp/client/core/session/identity_source_unittest.cc ('k') | blimp/client/public/blimp_client_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java
diff --git a/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java b/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java
index f59b479619bd79dc38bbb744bcc170ad5bbcec58..bf7f6c62c83029e812ebe047c11b23cfc01cac8d 100644
--- a/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java
+++ b/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java
@@ -39,4 +39,12 @@ public interface BlimpClientContext {
* Java Blimp code only.
*/
void setDelegate(BlimpClientContextDelegate delegate);
+
+ /**
+ * Start authentication flow and connection to engine.
+ * This must be called after AccountTrackerService.onSystemAccountsSeedingComplete, since the
+ * embedder may asynchronously seed account info to native layer, and revoke all OAuth2 refresh
+ * token during the request.
+ */
+ void connect();
}
« no previous file with comments | « blimp/client/core/session/identity_source_unittest.cc ('k') | blimp/client/public/blimp_client_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698