Chromium Code Reviews| Index: chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc |
| diff --git a/chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc b/chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc |
| index df024639cf14e9d6ecf68bd63d365057cdbdbbe3..1dbbb12d679905c3116765486d3701aaf2ae19e6 100644 |
| --- a/chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc |
| +++ b/chrome/browser/ui/ash/user_accounts_delegate_chromeos.cc |
| @@ -12,7 +12,6 @@ |
| #include "chrome/browser/chromeos/ui/inline_login_dialog.h" |
| #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
| #include "chrome/browser/signin/signin_manager_factory.h" |
| -#include "components/signin/core/browser/mutable_profile_oauth2_token_service.h" |
| #include "components/signin/core/browser/profile_oauth2_token_service.h" |
| #include "components/signin/core/browser/signin_manager.h" |
| #include "components/user_manager/user.h" |
| @@ -64,9 +63,8 @@ std::string UserAccountsDelegateChromeOS::GetAccountDisplayName( |
| void UserAccountsDelegateChromeOS::DeleteAccount( |
| const std::string& account_id) { |
| - MutableProfileOAuth2TokenService* oauth2_token_service = |
| - ProfileOAuth2TokenServiceFactory::GetPlatformSpecificForProfile( |
| - user_profile_); |
| + ProfileOAuth2TokenService* oauth2_token_service = |
| + ProfileOAuth2TokenServiceFactory::GetForProfile(user_profile_); |
| oauth2_token_service->RevokeCredentials(account_id); |
|
msw
2015/06/29 19:42:39
optional nit: inline the GetForProfile call, like
|
| } |