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; |