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

Unified Diff: chrome/browser/ui/app_list/app_list_service_mac.mm

Issue 143683004: Add UMA to track app launcher discoverability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix official build Created 6 years, 10 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/app_list_service_mac.mm
diff --git a/chrome/browser/ui/app_list/app_list_service_mac.mm b/chrome/browser/ui/app_list/app_list_service_mac.mm
index fd5986eef68a1da2c5b6a9756a054289967e55f7..f703c82d7533861a003a8282bb07d12495c51fe5 100644
--- a/chrome/browser/ui/app_list/app_list_service_mac.mm
+++ b/chrome/browser/ui/app_list/app_list_service_mac.mm
@@ -347,7 +347,7 @@ void AppListServiceMac::Init(Profile* initial_profile) {
static bool init_called_with_profile = false;
if (initial_profile && !init_called_with_profile) {
init_called_with_profile = true;
- HandleCommandLineFlags(initial_profile);
+ PerformStartupChecks(initial_profile);
PrefService* local_state = g_browser_process->local_state();
if (!IsAppLauncherEnabled()) {
local_state->SetInteger(prefs::kAppLauncherShortcutVersion, 0);
@@ -442,8 +442,9 @@ bool AppListServiceMac::IsAppListVisible() const {
![animation_controller_ isClosing];
}
-void AppListServiceMac::EnableAppList(Profile* initial_profile) {
- AppListServiceImpl::EnableAppList(initial_profile);
+void AppListServiceMac::EnableAppList(Profile* initial_profile,
+ AppListEnableSource enable_source) {
+ AppListServiceImpl::EnableAppList(initial_profile, enable_source);
AppController* controller = [NSApp delegate];
[controller initAppShimMenuController];
}
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac.h ('k') | chrome/browser/ui/app_list/app_list_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698