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 213da34fc9c82461d071b5dfc26a7fcf8fb04dbc..085faed6fef640a83a1d926717e821efccd1210f 100644 |
--- a/chrome/browser/ui/app_list/app_list_service_impl.h |
+++ b/chrome/browser/ui/app_list/app_list_service_impl.h |
@@ -28,6 +28,8 @@ |
class AppListServiceImpl : public AppListService, |
public ProfileInfoCacheObserver { |
public: |
+ static void RecordAppListLaunch(); |
+ static void RecordAppListAppLaunch(); |
virtual ~AppListServiceImpl(); |
// Constructor used for testing. |
@@ -35,9 +37,6 @@ |
PrefService* local_state, |
scoped_ptr<ProfileStore> profile_store, |
scoped_ptr<KeepAliveService> keep_alive_service); |
- |
- void RecordAppListLaunch(); |
- static void RecordAppListAppLaunch(); |
// AppListService overrides: |
virtual void SetAppListNextPaintCallback(void (*callback)()) OVERRIDE; |
@@ -47,9 +46,7 @@ |
const base::FilePath& user_data_dir) OVERRIDE; |
virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE; |
virtual void Show() OVERRIDE; |
- virtual void AutoShowForProfile(Profile* requested_profile) OVERRIDE; |
- virtual void EnableAppList(Profile* initial_profile, |
- AppListEnableSource enable_source) OVERRIDE; |
+ virtual void EnableAppList(Profile* initial_profile) OVERRIDE; |
protected: |
AppListServiceImpl(); |
@@ -58,10 +55,12 @@ |
ProfileLoader& profile_loader() { return *profile_loader_; } |
const ProfileLoader& profile_loader() const { return *profile_loader_; } |
- // Perform startup checks shared between desktop implementations of the app |
- // list. Currently this checks command line flags to enable or disable the app |
- // list, and records UMA stats delayed from a previous Chrome process. |
- void PerformStartupChecks(Profile* initial_profile); |
+ // Process command line flags shared between desktop implementations of the |
+ // app list. Currently this allows for enabling or disabling the app list. |
+ void HandleCommandLineFlags(Profile* initial_profile); |
+ |
+ // Records UMA stats that try to approximate usage after a delay. |
+ void SendUsageStats(); |
// Create a platform-specific shortcut for the app list. |
virtual void CreateShortcut(); |