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

Unified Diff: google_apis/gaia/ubertoken_fetcher.h

Issue 1129463004: Let Ubertoken Fetch be primed with an access token. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rogerta's comments Created 5 years, 7 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: google_apis/gaia/ubertoken_fetcher.h
diff --git a/google_apis/gaia/ubertoken_fetcher.h b/google_apis/gaia/ubertoken_fetcher.h
index 54835e1d00102f9594294ccca0a54dbe1307f633..c74aa6c5b2e8c5fc576f23020063dcb4746ca633 100644
--- a/google_apis/gaia/ubertoken_fetcher.h
+++ b/google_apis/gaia/ubertoken_fetcher.h
@@ -50,6 +50,8 @@ class UbertokenFetcher : public GaiaAuthConsumer,
// Start fetching the token for |account_id|.
virtual void StartFetchingToken(const std::string& account_id);
+ virtual void StartFetchingTokenWithAccessToken(const std::string& account_id,
Andrew T Wilson (Slow) 2015/05/11 10:06:21 This does special stuff if access_token.empty() ==
Mike Lerman 2015/05/12 20:51:44 Changed, per your other comment, so that this no l
+ const std::string& access_token);
// Overriden from GaiaAuthConsumer
void OnUberAuthTokenSuccess(const std::string& token) override;

Powered by Google App Engine
This is Rietveld 408576698