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

Unified Diff: google_apis/gaia/oauth2_access_token_fetcher_impl.cc

Issue 489113003: Remove MutableProfileOAuth2TokenService on iOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: google_apis/gaia/oauth2_access_token_fetcher_impl.cc
diff --git a/google_apis/gaia/oauth2_access_token_fetcher_impl.cc b/google_apis/gaia/oauth2_access_token_fetcher_impl.cc
index 08e45d2e18b423b0458a6e85eed6fe6907ec7b46..d6457c05a95720424c338b100a66bc8cbc2b1bc3 100644
--- a/google_apis/gaia/oauth2_access_token_fetcher_impl.cc
+++ b/google_apis/gaia/oauth2_access_token_fetcher_impl.cc
@@ -136,7 +136,9 @@ OAuth2AccessTokenFetcherImpl::OAuth2AccessTokenFetcherImpl(
: OAuth2AccessTokenFetcher(consumer),
getter_(getter),
refresh_token_(refresh_token),
- state_(INITIAL) {}
+ state_(INITIAL) {
+ DCHECK(getter_);
+}
OAuth2AccessTokenFetcherImpl::~OAuth2AccessTokenFetcherImpl() {}

Powered by Google App Engine
This is Rietveld 408576698