| 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"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/profiles/profile_manager.h"
|
| #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() {}
|
|
|