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

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

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment Created 4 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: chrome/browser/ui/app_list/app_list_service_impl.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.cc b/chrome/browser/ui/app_list/app_list_service_impl.cc
index a0dc299fde27da738d410778b27d9c4336404395..11a7cd727b6551b54ad76f577b3139e05d9ba7a3 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc
@@ -234,7 +234,6 @@ void AppListServiceImpl::RecordAppListLaunch() {
prefs::kAppListLaunchCount,
&SendAppListLaunch);
RecordAppListDiscoverability(local_state_, false);
- RecordAppListLastLaunch();
}
// static
@@ -245,19 +244,6 @@ void AppListServiceImpl::RecordAppListAppLaunch() {
}
// static
-void AppListServiceImpl::RecordAppListLastLaunch() {
- if (!g_browser_process)
- return; // In a unit test.
-
- PrefService* local_state = g_browser_process->local_state();
- if (!local_state)
- return; // In a unit test.
-
- local_state->SetInt64(prefs::kAppListLastLaunchTime,
- base::Time::Now().ToInternalValue());
-}
-
-// static
void AppListServiceImpl::SendAppListStats() {
if (!g_browser_process || g_browser_process->IsShuttingDown())
return;

Powered by Google App Engine
This is Rietveld 408576698