| 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 ed9639d0cdbbf333a44c470c1c1757973ea86354..fda9b607904736190164ef4f6a17bf0a5dda4ea6 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/ui/browser_finder.h"
|
| @@ -100,6 +102,14 @@ string16 ChromeSigninDelegate::GetSettingsLinkText() {
|
| return rb.GetLocalizedString(IDS_APP_LIST_SIGNIN_SETTINGS_TEXT);
|
| }
|
|
|
| +void ChromeSigninDelegate::SetProfileByPath(
|
| + const base::FilePath& profile_path) {
|
| + // The profile must be loaded before this is called.
|
| + profile_ =
|
| + g_browser_process->profile_manager()->GetProfileByPath(profile_path);
|
| + DCHECK(profile_);
|
| +}
|
| +
|
| ChromeSigninDelegate::~ChromeSigninDelegate() {}
|
|
|
| void ChromeSigninDelegate::SigninFailed(const GoogleServiceAuthError& error) {}
|
|
|