OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "apps/pref_names.h" | 5 #include "apps/pref_names.h" |
6 | 6 |
7 namespace apps { | 7 namespace apps { |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
11 // Local state caching knowledge of whether the app launcher is installed. | 11 // Local state caching knowledge of whether the app launcher is installed. |
12 const char kAppLauncherIsEnabled[] = | 12 const char kAppLauncherIsEnabled[] = |
13 "apps.app_launcher.should_show_apps_page"; | 13 "apps.app_launcher.should_show_apps_page"; |
14 | 14 |
| 15 // If set, the user requested to launch the app with this extension id while |
| 16 // in Metro mode, and then relaunched to Desktop mode to start it. |
| 17 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; |
| 18 |
| 19 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers |
| 20 // launch of the specified app when restarting Chrome in desktop mode. |
| 21 const char kAppLaunchForMetroRestartProfile[] = |
| 22 "apps.app_launch_for_metro_restart_profile"; |
| 23 |
15 } // namespace prefs | 24 } // namespace prefs |
16 | 25 |
17 } // namespace apps | 26 } // namespace apps |
OLD | NEW |