| 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 2151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2162 "profile.managed_popups_allowed_for_urls"; | 2162 "profile.managed_popups_allowed_for_urls"; |
| 2163 const char kManagedPopupsBlockedForUrls[] = | 2163 const char kManagedPopupsBlockedForUrls[] = |
| 2164 "profile.managed_popups_blocked_for_urls"; | 2164 "profile.managed_popups_blocked_for_urls"; |
| 2165 const char kManagedNotificationsAllowedForUrls[] = | 2165 const char kManagedNotificationsAllowedForUrls[] = |
| 2166 "profile.managed_notifications_allowed_for_urls"; | 2166 "profile.managed_notifications_allowed_for_urls"; |
| 2167 const char kManagedNotificationsBlockedForUrls[] = | 2167 const char kManagedNotificationsBlockedForUrls[] = |
| 2168 "profile.managed_notifications_blocked_for_urls"; | 2168 "profile.managed_notifications_blocked_for_urls"; |
| 2169 const char kManagedAutoSelectCertificateForUrls[] = | 2169 const char kManagedAutoSelectCertificateForUrls[] = |
| 2170 "profile.managed_auto_select_certificate_for_urls"; | 2170 "profile.managed_auto_select_certificate_for_urls"; |
| 2171 | 2171 |
| 2172 // Set to true if the user created a login item so we should not modify it when | 2172 #if defined(OS_MACOSX) |
| 2173 // uninstalling background apps. | |
| 2174 const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item"; | |
| 2175 | |
| 2176 // Set to true if the user removed our login item so we should not create a new | 2173 // Set to true if the user removed our login item so we should not create a new |
| 2177 // one when uninstalling background apps. | 2174 // one when uninstalling background apps. |
| 2178 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item"; | 2175 const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item"; |
| 2179 | 2176 |
| 2177 // Set to true if Chrome already created a login item, so there's no need to |
| 2178 // create another one. |
| 2179 const char kChromeCreatedLoginItem[] = |
| 2180 "background_mode.chrome_created_login_item"; |
| 2181 |
| 2182 // Set to true once we've initialized kChromeCreatedLoginItem for the first |
| 2183 // time. |
| 2184 const char kMigratedLoginItemPref[] = |
| 2185 "background_mode.migrated_login_item_pref"; |
| 2186 #endif |
| 2187 |
| 2180 // Set to true if background mode is enabled on this browser. | 2188 // Set to true if background mode is enabled on this browser. |
| 2181 const char kBackgroundModeEnabled[] = "background_mode.enabled"; | 2189 const char kBackgroundModeEnabled[] = "background_mode.enabled"; |
| 2182 | 2190 |
| 2183 // Set to true if hardware acceleration mode is enabled on this browser. | 2191 // Set to true if hardware acceleration mode is enabled on this browser. |
| 2184 const char kHardwareAccelerationModeEnabled[] = | 2192 const char kHardwareAccelerationModeEnabled[] = |
| 2185 "hardware_acceleration_mode.enabled"; | 2193 "hardware_acceleration_mode.enabled"; |
| 2186 | 2194 |
| 2187 // List of protocol handlers. | 2195 // List of protocol handlers. |
| 2188 const char kRegisteredProtocolHandlers[] = | 2196 const char kRegisteredProtocolHandlers[] = |
| 2189 "custom_handlers.registered_protocol_handlers"; | 2197 "custom_handlers.registered_protocol_handlers"; |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2376 // the time of the last ping. | 2384 // the time of the last ping. |
| 2377 extern const char kAppListLaunchCount[] = "app_list.launch_count"; | 2385 extern const char kAppListLaunchCount[] = "app_list.launch_count"; |
| 2378 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping"; | 2386 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping"; |
| 2379 | 2387 |
| 2380 // The number of times the an app was launched from the app launcher since last | 2388 // The number of times the an app was launched from the app launcher since last |
| 2381 // ping and the time of the last ping. | 2389 // ping and the time of the last ping. |
| 2382 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; | 2390 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; |
| 2383 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; | 2391 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; |
| 2384 | 2392 |
| 2385 } // namespace prefs | 2393 } // namespace prefs |
| OLD | NEW |