app_list_service.cc revision a93a17c8d99d686bd4a1511e5504e5e6cc9fcadf
1// Copyright 2013 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "chrome/browser/ui/app_list/app_list_service.h" 6 7#include "base/prefs/pref_registry_simple.h" 8#include "chrome/common/pref_names.h" 9 10// static 11void AppListService::RegisterPrefs(PrefRegistrySimple* registry) { 12 registry->RegisterInt64Pref(prefs::kLastAppListLaunchPing, 0); 13 registry->RegisterIntegerPref(prefs::kAppListLaunchCount, 0); 14 registry->RegisterInt64Pref(prefs::kLastAppListAppLaunchPing, 0); 15 registry->RegisterIntegerPref(prefs::kAppListAppLaunchCount, 0); 16 registry->RegisterStringPref(prefs::kAppListProfile, std::string()); 17 registry->RegisterBooleanPref(prefs::kRestartWithAppList, false); 18} 19