| Index: chrome/browser/services/gcm/gcm_account_tracker_unittest.cc
|
| diff --git a/chrome/browser/services/gcm/gcm_account_tracker_unittest.cc b/chrome/browser/services/gcm/gcm_account_tracker_unittest.cc
|
| index cf1a10a745323064cde5990be638b02778030ea1..da44d7d8e48d6959770bfaa8a564fbc2771a31ce 100644
|
| --- a/chrome/browser/services/gcm/gcm_account_tracker_unittest.cc
|
| +++ b/chrome/browser/services/gcm/gcm_account_tracker_unittest.cc
|
| @@ -211,7 +211,8 @@ GCMAccountTrackerTest::~GCMAccountTrackerTest() {
|
|
|
| void GCMAccountTrackerTest::StartAccountSignIn(const std::string& account_key) {
|
| fake_identity_provider_->LogIn(account_key);
|
| - fake_token_service_->AddAccount(account_key);
|
| + fake_token_service_->GetDelegate()->UpdateCredentials(account_key,
|
| + "refresh_token");
|
| }
|
|
|
| void GCMAccountTrackerTest::FinishAccountSignIn(
|
| @@ -232,7 +233,7 @@ void GCMAccountTrackerTest::SignInAccount(const std::string& account_key) {
|
| }
|
|
|
| void GCMAccountTrackerTest::SignOutAccount(const std::string& account_key) {
|
| - fake_token_service_->RemoveAccount(account_key);
|
| + fake_token_service_->GetDelegate()->RevokeCredentials(account_key);
|
| }
|
|
|
| void GCMAccountTrackerTest::IssueAccessToken(const std::string& account_key) {
|
|
|