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

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

Issue 2787693002: Remove more dead app list code. (Closed)
Patch Set: updated comment Created 3 years, 9 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 75753bfd00fe2f2b4ade5b3a898ed9a4dab29c16..ce4b76ef2322e5a4ed3987f33aaf20603b77604f 100644
--- a/chrome/browser/ui/app_list/app_list_service.cc
+++ b/chrome/browser/ui/app_list/app_list_service.cc
@@ -43,13 +43,7 @@ base::Time GetOriginalProcessStartTime(const base::CommandLine& command_line) {
return base::Time::FromInternalValue(remote_start_time);
}
-// base::CurrentProcessInfo::CreationTime() is only defined on some
-// platforms.
-#if defined(OS_LINUX)
return base::CurrentProcessInfo::CreationTime();
-#else
- return base::Time();
-#endif
}
StartupType GetStartupType(const base::CommandLine& command_line) {
@@ -149,10 +143,6 @@ void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {
ENABLE_NOT_RECORDED);
registry->RegisterInt64Pref(prefs::kAppListEnableTime, 0);
-#if defined(OS_MACOSX)
- registry->RegisterIntegerPref(prefs::kAppLauncherShortcutVersion, 0);
-#endif
-
// Identifies whether we should show the app launcher promo or not. This
// becomes false when the user dismisses the promo.
registry->RegisterBooleanPref(prefs::kShowAppLauncherPromo, true);

Powered by Google App Engine
This is Rietveld 408576698