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 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 // Boolean pref that determines whether the user can enter fullscreen mode. | 1245 // Boolean pref that determines whether the user can enter fullscreen mode. |
1246 // Disabling fullscreen mode also makes kiosk mode unavailable on desktop | 1246 // Disabling fullscreen mode also makes kiosk mode unavailable on desktop |
1247 // platforms. | 1247 // platforms. |
1248 extern const char kFullscreenAllowed[] = "fullscreen.allowed"; | 1248 extern const char kFullscreenAllowed[] = "fullscreen.allowed"; |
1249 | 1249 |
1250 // Enable notifications for new devices on the local network that can be | 1250 // Enable notifications for new devices on the local network that can be |
1251 // registered to the user's account, e.g. Google Cloud Print printers. | 1251 // registered to the user's account, e.g. Google Cloud Print printers. |
1252 const char kLocalDiscoveryNotificationsEnabled[] = | 1252 const char kLocalDiscoveryNotificationsEnabled[] = |
1253 "local_discovery.notifications_enabled"; | 1253 "local_discovery.notifications_enabled"; |
1254 | 1254 |
| 1255 // String that indicates if the Profile Reset prompt has already been shown to |
| 1256 // the user. Used both in user preferences and local state, in the latter, it is |
| 1257 // actually a dictionary that maps profile keys to before-mentioned strings. |
| 1258 const char kProfileResetPromptMemento[] = "profile.reset_prompt_memento"; |
| 1259 |
1255 // *************** LOCAL STATE *************** | 1260 // *************** LOCAL STATE *************** |
1256 // These are attached to the machine/installation | 1261 // These are attached to the machine/installation |
1257 | 1262 |
1258 // A pref to configure networks device-wide. Its value must be a list of | 1263 // A pref to configure networks device-wide. Its value must be a list of |
1259 // NetworkConfigurations according to the OpenNetworkConfiguration | 1264 // NetworkConfigurations according to the OpenNetworkConfiguration |
1260 // specification. | 1265 // specification. |
1261 // Currently, this pref is only used to store the policy. The user's | 1266 // Currently, this pref is only used to store the policy. The user's |
1262 // configuration is still stored in Shill. | 1267 // configuration is still stored in Shill. |
1263 const char kDeviceOpenNetworkConfiguration[] = "device_onc"; | 1268 const char kDeviceOpenNetworkConfiguration[] = "device_onc"; |
1264 | 1269 |
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2538 // A dictionary pref which maps profile names to dictionary values which hold | 2543 // A dictionary pref which maps profile names to dictionary values which hold |
2539 // hashes of profile prefs that we track to detect changes that happen outside | 2544 // hashes of profile prefs that we track to detect changes that happen outside |
2540 // of Chrome. | 2545 // of Chrome. |
2541 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; | 2546 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; |
2542 | 2547 |
2543 // Stores a pair of local time and corresponding network time to bootstrap | 2548 // Stores a pair of local time and corresponding network time to bootstrap |
2544 // network time tracker when browser starts. | 2549 // network time tracker when browser starts. |
2545 const char kNetworkTimeMapping[] = "profile.network_time_mapping"; | 2550 const char kNetworkTimeMapping[] = "profile.network_time_mapping"; |
2546 | 2551 |
2547 } // namespace prefs | 2552 } // namespace prefs |
OLD | NEW |