Chromium Code Reviews| 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..8883b076ce2e1ad974b12d9d032275b25ab92507 100644 |
| --- a/chrome/browser/ui/app_list/chrome_signin_delegate.cc |
| +++ b/chrome/browser/ui/app_list/chrome_signin_delegate.cc |
| @@ -4,8 +4,10 @@ |
| #include "chrome/browser/ui/app_list/chrome_signin_delegate.h" |
| +#include "chrome/browser/browser_process.h" |
|
tapted
2013/09/16 20:46:44
should this be here? (maybe from a rebase)
calamity
2013/09/17 00:09:26
Removed.
|
| #include "chrome/browser/extensions/extension_service.h" |
| #include "chrome/browser/profiles/profile.h" |
| +#include "chrome/browser/profiles/profile_manager.h" |
|
tapted
2013/09/16 20:46:44
this too
calamity
2013/09/17 00:09:26
Removed.
|
| #include "chrome/browser/signin/signin_manager.h" |
| #include "chrome/browser/signin/signin_manager_factory.h" |
| #include "chrome/browser/signin/signin_promo.h" |
| @@ -28,8 +30,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 +103,3 @@ string16 ChromeSigninDelegate::GetSettingsLinkText() { |
| ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
| return rb.GetLocalizedString(IDS_APP_LIST_SIGNIN_SETTINGS_TEXT); |
| } |
| - |
| -ChromeSigninDelegate::~ChromeSigninDelegate() {} |