Index: chrome/browser/ui/app_list/chrome_signin_delegate.cc |
diff --git a/chrome/browser/ui/app_list/chrome_signin_delegate.cc b/chrome/browser/ui/app_list/chrome_signin_delegate.cc |
index e7d0aa4228316f8fb225b152f41c6c7d1d61aaa0..c50ad0c9fd3422212c6b12869e6c8701ed800be9 100644 |
--- a/chrome/browser/ui/app_list/chrome_signin_delegate.cc |
+++ b/chrome/browser/ui/app_list/chrome_signin_delegate.cc |
@@ -28,8 +28,13 @@ SigninManagerBase* GetSigninManager(Profile* profile) { |
} // namespace |
-ChromeSigninDelegate::ChromeSigninDelegate(Profile* profile) |
- : profile_(profile) {} |
+ChromeSigninDelegate::ChromeSigninDelegate() {} |
+ |
+ChromeSigninDelegate::~ChromeSigninDelegate() {} |
+ |
+void ChromeSigninDelegate::SetProfile(Profile* profile) { |
+ profile_ = profile; |
+} |
bool ChromeSigninDelegate::NeedSignin() { |
#if defined(OS_CHROMEOS) |
@@ -96,5 +101,3 @@ string16 ChromeSigninDelegate::GetSettingsLinkText() { |
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
return rb.GetLocalizedString(IDS_APP_LIST_SIGNIN_SETTINGS_TEXT); |
} |
- |
-ChromeSigninDelegate::~ChromeSigninDelegate() {} |