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

Unified Diff: ui/app_list/signin_delegate.h

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove junk from list_model.h Created 7 years, 5 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: ui/app_list/signin_delegate.h
diff --git a/ui/app_list/signin_delegate.h b/ui/app_list/signin_delegate.h
index eda67f410e8dea7a182890c8b000356f4c7d36ca..a6754c141867f05d8b3fa7e2f5a70a0d9723df41 100644
--- a/ui/app_list/signin_delegate.h
+++ b/ui/app_list/signin_delegate.h
@@ -10,6 +10,10 @@
#include "base/strings/string16.h"
#include "ui/app_list/app_list_export.h"
+namespace base {
+class FilePath;
+}
+
namespace app_list {
class SigninDelegateObserver;
@@ -30,6 +34,8 @@ class APP_LIST_EXPORT SigninDelegate {
virtual base::string16 GetLearnMoreLinkText() = 0;
virtual base::string16 GetSettingsLinkText() = 0;
+ virtual void SetProfileByPath(const base::FilePath& profile_path) = 0;
koz (OOO until 15th September) 2013/08/05 01:09:11 This should take a Profile*, seeing as implementor
benwells 2013/08/06 01:37:29 I don't think ui/app_list shouldn't depend on Prof
koz (OOO until 15th September) 2013/08/06 04:51:33 Good point. This method should probably not be in
calamity 2013/08/08 04:52:12 Done.
+
void AddObserver(SigninDelegateObserver* observer);
void RemoveObserver(SigninDelegateObserver* observer);

Powered by Google App Engine
This is Rietveld 408576698