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

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

Issue 2320813002: arc: Enable silent PlayStore Sign-In. (Closed)
Patch Set: rebase/refactor Created 4 years, 3 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: 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 d1f111525f88a203030462f00fdfe7467c932847..1314e1074705f8153431eb3372e54e7ed04f07d7 100644
--- a/chrome/browser/chromeos/arc/arc_auth_context.h
+++ b/chrome/browser/chromeos/arc/arc_auth_context.h
@@ -19,6 +19,10 @@ namespace content {
class StoragePartition;
}
+namespace net {
+class URLRequestContextGetter;
+}
+
namespace arc {
class ArcAuthContextDelegate;
@@ -32,6 +36,9 @@ class ArcAuthContext : public UbertokenConsumer,
void PrepareContext();
+ // Returns the URL request context information associated with this context.
+ net::URLRequestContextGetter* GetURLRequestContext();
+
// OAuth2TokenService::Observer:
void OnRefreshTokenAvailable(const std::string& account_id) override;
void OnRefreshTokensLoaded() override;
@@ -50,6 +57,7 @@ class ArcAuthContext : public UbertokenConsumer,
private:
void StartFetchers();
+ void ResetFetchers();
void OnRefreshTokenTimeout();
// Unowned pointers.

Powered by Google App Engine
This is Rietveld 408576698