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

Unified Diff: chrome/browser/signin/account_service_flag_fetcher_unittest.cc

Issue 1143323005: Refactor AO2TS to make it easier to componentize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address roger'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: chrome/browser/signin/account_service_flag_fetcher_unittest.cc
diff --git a/chrome/browser/signin/account_service_flag_fetcher_unittest.cc b/chrome/browser/signin/account_service_flag_fetcher_unittest.cc
index 0e81008d771322a72cda83b788c5427e43bcc7cc..cc5920cfc61c98378e81bfbf17d18a65e5be222a 100644
--- a/chrome/browser/signin/account_service_flag_fetcher_unittest.cc
+++ b/chrome/browser/signin/account_service_flag_fetcher_unittest.cc
@@ -195,7 +195,7 @@ TEST_F(AccountServiceFlagFetcherTest, NoRefreshToken) {
// user, so we expect a token error.
EXPECT_CALL(*this, OnFlagsFetched(AccountServiceFlagFetcher::TOKEN_ERROR,
std::vector<std::string>()));
- token_service_.IssueAllRefreshTokensLoaded();
+ token_service_.LoadCredentials("");
}
TEST_F(AccountServiceFlagFetcherTest, GetTokenFailure) {

Powered by Google App Engine
This is Rietveld 408576698