Index: chrome/browser/signin/signin_manager.cc |
diff --git a/chrome/browser/signin/signin_manager.cc b/chrome/browser/signin/signin_manager.cc |
index 9f9a0c2f2f5c39a15ae4f7272f06795e52d09f09..aeddf44ac928dd1be621ebffa484338da9afc576 100644 |
--- a/chrome/browser/signin/signin_manager.cc |
+++ b/chrome/browser/signin/signin_manager.cc |
@@ -201,7 +201,7 @@ void SigninManager::Initialize(Profile* profile) { |
// Should never call Initialize() twice. |
DCHECK(!IsInitialized()); |
profile_ = profile; |
- signin_global_error_.reset(new SigninGlobalError(profile)); |
+ signin_global_error_.reset(new SigninGlobalError(this, profile)); |
GlobalErrorServiceFactory::GetForProfile(profile_)->AddGlobalError( |
signin_global_error_.get()); |
PrefService* local_state = g_browser_process->local_state(); |
@@ -274,7 +274,7 @@ void SigninManager::CleanupNotificationRegistration() { |
#endif |
} |
-const std::string& SigninManager::GetAuthenticatedUsername() { |
+const std::string& SigninManager::GetAuthenticatedUsername() const { |
return authenticated_username_; |
} |