Remove redundant deinitialization code from HttpCache::Transaction.
[chromium-blink-merge.git] / apps / pref_names.cc
blob02b652c316316e86bf52d45e9486dc44532c50c2
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.
5 #include "apps/pref_names.h"
7 namespace apps {
9 namespace prefs {
11 // A boolean that tracks whether the user has ever enabled the app launcher.
12 const char kAppLauncherHasBeenEnabled[] =
13 "apps.app_launcher.has_been_enabled";
15 // TODO(calamity): remove this pref since app launcher will always be
16 // installed.
17 // Local state caching knowledge of whether the app launcher is installed.
18 const char kAppLauncherIsEnabled[] =
19 "apps.app_launcher.should_show_apps_page";
21 // Integer representing the version of the app launcher shortcut installed on
22 // the system. Incremented, e.g., when embedded icons change.
23 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version";
25 // If set, the user requested to launch the app with this extension id while
26 // in Metro mode, and then relaunched to Desktop mode to start it.
27 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart";
29 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers
30 // launch of the specified app when restarting Chrome in desktop mode.
31 const char kAppLaunchForMetroRestartProfile[] =
32 "apps.app_launch_for_metro_restart_profile";
34 // A boolean that indicates whether app shortcuts have been created.
35 // On a transition from false to true, shortcuts are created for all apps.
36 const char kShortcutsHaveBeenCreated[] = "apps.shortcuts_have_been_created";
38 // A boolean identifying if we should show the app launcher promo or not.
39 const char kShowAppLauncherPromo[] = "app_launcher.show_promo";
41 } // namespace prefs
43 } // namespace apps