| Index: chrome/browser/services/gcm/gcm_profile_service_unittest.cc
|
| diff --git a/chrome/browser/services/gcm/gcm_profile_service_unittest.cc b/chrome/browser/services/gcm/gcm_profile_service_unittest.cc
|
| index cb9c7df424450311dd21d2893c6c353730b2bc47..d5aeb4f419b734a92015db86d1a9a4f32dbaaaad 100644
|
| --- a/chrome/browser/services/gcm/gcm_profile_service_unittest.cc
|
| +++ b/chrome/browser/services/gcm/gcm_profile_service_unittest.cc
|
| @@ -138,9 +138,11 @@ class FakeSigninManager : public SigninManagerBase {
|
| }
|
|
|
| void SignOut() {
|
| + std::string username = GetAuthenticatedUsername();
|
| clear_authenticated_username();
|
| + profile()->GetPrefs()->ClearPref(prefs::kGoogleServicesUsername);
|
|
|
| - GoogleServiceSignoutDetails details(GetAuthenticatedUsername());
|
| + GoogleServiceSignoutDetails details(username);
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_GOOGLE_SIGNED_OUT,
|
| content::Source<Profile>(profile_),
|
|
|