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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.h

Issue 22268009: Move signin status and current user information into AppListModel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « ash/shell/app_list.cc ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_service_impl.h
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.h b/chrome/browser/ui/app_list/app_list_service_impl.h
index 5f7d70f34f322297c6ae513bc38fcc7776bb5b4b..438b71e452f69b6fbc3cd74390dfecf04d736ec9 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.h
+++ b/chrome/browser/ui/app_list/app_list_service_impl.h
@@ -15,22 +15,14 @@
#include "chrome/browser/profiles/profile_info_cache_observer.h"
#include "chrome/browser/profiles/profile_loader.h"
#include "chrome/browser/ui/app_list/app_list_service.h"
-#include "content/public/browser/notification_observer.h"
-#include "content/public/browser/notification_registrar.h"
namespace base {
class FilePath;
}
-namespace content {
-class NotificationSource;
-class NotificationDetails;
-}
-
// Parts of the AppListService implementation shared between platforms.
class AppListServiceImpl : public AppListService,
- public ProfileInfoCacheObserver,
- public content::NotificationObserver {
+ public ProfileInfoCacheObserver {
public:
static void RecordAppListLaunch();
static void RecordAppListAppLaunch();
@@ -53,9 +45,6 @@ class AppListServiceImpl : public AppListService,
// Create a platform-specific shortcut for the app list.
virtual void CreateShortcut();
- // Called in response to observed successful and unsuccessful signin changes.
- virtual void OnSigninStatusChanged();
-
// AppListService overrides:
virtual void HandleFirstRun() OVERRIDE;
virtual void Init(Profile* initial_profile) OVERRIDE;
@@ -83,11 +72,6 @@ class AppListServiceImpl : public AppListService,
virtual void OnProfileWillBeRemoved(
const base::FilePath& profile_path) OVERRIDE;
- // content::NotificationObserver
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
-
// The profile the AppList is currently displaying.
Profile* profile_;
@@ -98,7 +82,6 @@ class AppListServiceImpl : public AppListService,
int pending_profile_loads_;
base::WeakPtrFactory<AppListServiceImpl> weak_factory_;
- content::NotificationRegistrar registrar_;
ProfileLoader profile_loader_;
« no previous file with comments | « ash/shell/app_list.cc ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698