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

Unified Diff: chrome/browser/ui/app_list/app_list_service.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.cc
diff --git a/chrome/browser/ui/app_list/app_list_service.cc b/chrome/browser/ui/app_list/app_list_service.cc
index e9ab06d4f3bd3e3030f10fdf1fab5f03a51c05a2..5464c7661e26fd3c478b971a71081962b2b2e2b8 100644
--- a/chrome/browser/ui/app_list/app_list_service.cc
+++ b/chrome/browser/ui/app_list/app_list_service.cc
@@ -45,7 +45,7 @@ base::Time GetOriginalProcessStartTime(const base::CommandLine& command_line) {
// base::CurrentProcessInfo::CreationTime() is only defined on some
// platforms.
-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
+#if defined(OS_LINUX)
return base::CurrentProcessInfo::CreationTime();
#else
return base::Time();
@@ -148,7 +148,6 @@ void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {
registry->RegisterIntegerPref(prefs::kAppListEnableMethod,
ENABLE_NOT_RECORDED);
registry->RegisterInt64Pref(prefs::kAppListEnableTime, 0);
- registry->RegisterInt64Pref(prefs::kAppListLastLaunchTime, 0);
#if defined(OS_MACOSX)
registry->RegisterIntegerPref(prefs::kAppLauncherShortcutVersion, 0);

Powered by Google App Engine
This is Rietveld 408576698