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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_context.h

Issue 2771943003: arc: Skip GMS Sign-In in case Android is already signed-in. (Closed)
Patch Set: use sparse UMA Created 3 years, 9 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 | « no previous file | chrome/browser/chromeos/arc/arc_auth_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_auth_context.h
diff --git a/chrome/browser/chromeos/arc/arc_auth_context.h b/chrome/browser/chromeos/arc/arc_auth_context.h
index a359366ca247ed4767dea0cc5563a3b4bc3c28ee..c0aee9cedc78a9d7766de409d19575c78891eeba 100644
--- a/chrome/browser/chromeos/arc/arc_auth_context.h
+++ b/chrome/browser/chromeos/arc/arc_auth_context.h
@@ -36,6 +36,10 @@ class ArcAuthContext : public UbertokenConsumer,
ProfileOAuth2TokenService* token_service() { return token_service_; }
const std::string& account_id() const { return account_id_; }
+ // Returns full account id, including dots that are removed in CrOS for
+ // the default account id.
+ const std::string& full_account_id() const { return full_account_id_; }
+
// Prepares the context. Calling while an inflight operation exists will
// cancel the inflight operation.
// On completion, |context| is passed to the callback. On error, |context|
@@ -65,6 +69,7 @@ class ArcAuthContext : public UbertokenConsumer,
// Unowned pointer.
ProfileOAuth2TokenService* token_service_;
std::string account_id_;
+ std::string full_account_id_;
// Owned by content::BrowserContent. Used to isolate cookies for auth server
// communication and shared with ARC OptIn UI platform app.
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698