OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 2451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2462 // Local state caching knowledge of whether the app launcher is installed. | 2462 // Local state caching knowledge of whether the app launcher is installed. |
2463 const char kAppLauncherIsEnabled[] = | 2463 const char kAppLauncherIsEnabled[] = |
2464 "apps.app_launcher.should_show_apps_page"; | 2464 "apps.app_launcher.should_show_apps_page"; |
2465 | 2465 |
2466 // Integer representing the version of the app launcher shortcut installed on | 2466 // Integer representing the version of the app launcher shortcut installed on |
2467 // the system. Incremented, e.g., when embedded icons change. | 2467 // the system. Incremented, e.g., when embedded icons change. |
2468 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; | 2468 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; |
2469 | 2469 |
2470 // A boolean identifying if we should show the app launcher promo or not. | 2470 // A boolean identifying if we should show the app launcher promo or not. |
2471 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; | 2471 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; |
| 2472 |
| 2473 // A dictionary that tracks the Drive app to Chrome app mapping. The key is |
| 2474 // a Drive app id and the value is the corresponding Chrome app id. The pref |
| 2475 // is unsynable and used to track local mappings only. |
| 2476 const char kAppLauncherDriveAppMapping[] = |
| 2477 "apps.app_launcher.drive_app_mapping"; |
2472 #endif | 2478 #endif |
2473 | 2479 |
2474 // If set, the user requested to launch the app with this extension id while | 2480 // If set, the user requested to launch the app with this extension id while |
2475 // in Metro mode, and then relaunched to Desktop mode to start it. | 2481 // in Metro mode, and then relaunched to Desktop mode to start it. |
2476 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; | 2482 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; |
2477 | 2483 |
2478 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers | 2484 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers |
2479 // launch of the specified app when restarting Chrome in desktop mode. | 2485 // launch of the specified app when restarting Chrome in desktop mode. |
2480 const char kAppLaunchForMetroRestartProfile[] = | 2486 const char kAppLaunchForMetroRestartProfile[] = |
2481 "apps.app_launch_for_metro_restart_profile"; | 2487 "apps.app_launch_for_metro_restart_profile"; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2517 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2523 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2518 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2524 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2519 // title or an empty string if the bookmark node was removed. | 2525 // title or an empty string if the bookmark node was removed. |
2520 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2526 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2521 #endif | 2527 #endif |
2522 | 2528 |
2523 // Whether DNS Quick Check is disabled in proxy resolution. | 2529 // Whether DNS Quick Check is disabled in proxy resolution. |
2524 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2530 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2525 | 2531 |
2526 } // namespace prefs | 2532 } // namespace prefs |
OLD | NEW |