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 15 matching lines...) Expand all Loading... |
26 // This setting resides both in profile prefs and local state. Accelerator | 26 // This setting resides both in profile prefs and local state. Accelerator |
27 // handling code reads local state, while extension APIs use profile pref. | 27 // handling code reads local state, while extension APIs use profile pref. |
28 const char kDisableScreenshots[] = "disable_screenshots"; | 28 const char kDisableScreenshots[] = "disable_screenshots"; |
29 | 29 |
30 // A boolean specifying whether the New Tab page is the home page or not. | 30 // A boolean specifying whether the New Tab page is the home page or not. |
31 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage"; | 31 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage"; |
32 | 32 |
33 // This is the URL of the page to load when opening new tabs. | 33 // This is the URL of the page to load when opening new tabs. |
34 const char kHomePage[] = "homepage"; | 34 const char kHomePage[] = "homepage"; |
35 | 35 |
36 // This preference is used to store the hash of a password of the custodian of | |
37 // a managed user. It allows to unlock options which should be not available to | |
38 // the managed user. The salt preference is used to derive the hash from the | |
39 // password. | |
40 const char kManagedModeLocalPassphrase[] = "managed_mode.passphrase"; | |
41 const char kManagedModeLocalSalt[] = "managed_mode.salt"; | |
42 | |
43 // Maps host names to whether the host is manually allowed or blocked. | 36 // Maps host names to whether the host is manually allowed or blocked. |
44 const char kManagedModeManualHosts[] = "profile.managed.manual_hosts"; | 37 const char kManagedModeManualHosts[] = "profile.managed.manual_hosts"; |
45 // Maps URLs to whether the URL is manually allowed or blocked. | 38 // Maps URLs to whether the URL is manually allowed or blocked. |
46 const char kManagedModeManualURLs[] = "profile.managed.manual_urls"; | 39 const char kManagedModeManualURLs[] = "profile.managed.manual_urls"; |
47 | 40 |
48 // Used to determine if the last session exited cleanly. Set to false when | 41 // Used to determine if the last session exited cleanly. Set to false when |
49 // first opened, and to true when closing. On startup if the value is false, | 42 // first opened, and to true when closing. On startup if the value is false, |
50 // it means the profile didn't exit cleanly. | 43 // it means the profile didn't exit cleanly. |
51 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards | 44 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards |
52 // compatability. | 45 // compatability. |
(...skipping 2425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2478 // ping and the time of the last ping. | 2471 // ping and the time of the last ping. |
2479 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; | 2472 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; |
2480 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; | 2473 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; |
2481 | 2474 |
2482 // A string pref for storing the salt used to compute the pepper device ID. | 2475 // A string pref for storing the salt used to compute the pepper device ID. |
2483 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2476 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
2484 // A boolean pref that enables the (private) pepper GetDeviceID() call. | 2477 // A boolean pref that enables the (private) pepper GetDeviceID() call. |
2485 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2478 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
2486 | 2479 |
2487 } // namespace prefs | 2480 } // namespace prefs |
OLD | NEW |