Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2703)

Unified Diff: chrome/browser/ui/app_list/chrome_signin_delegate.cc

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove binary changes Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {}
« no previous file with comments | « chrome/browser/ui/app_list/chrome_signin_delegate.h ('k') | chrome/browser/ui/ash/app_list/app_list_controller_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698