| 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 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1477 | 1477 |
| 1478 // On Chrome OS, total number of kernel crashes since the last report. | 1478 // On Chrome OS, total number of kernel crashes since the last report. |
| 1479 const char kStabilityKernelCrashCount[] = | 1479 const char kStabilityKernelCrashCount[] = |
| 1480 "user_experience_metrics.stability.kernel_crash_count"; | 1480 "user_experience_metrics.stability.kernel_crash_count"; |
| 1481 | 1481 |
| 1482 // On Chrome OS, total number of unclean system shutdowns since the | 1482 // On Chrome OS, total number of unclean system shutdowns since the |
| 1483 // last report. | 1483 // last report. |
| 1484 const char kStabilitySystemUncleanShutdownCount[] = | 1484 const char kStabilitySystemUncleanShutdownCount[] = |
| 1485 "user_experience_metrics.stability.system_unclean_shutdowns"; | 1485 "user_experience_metrics.stability.system_unclean_shutdowns"; |
| 1486 | 1486 |
| 1487 #if defined(OS_ANDROID) |
| 1488 // Activity type that is currently in the foreground for the UMA session. |
| 1489 // Uses the ActivityTypeIds::Type enum. |
| 1490 const char kStabilityForegroundActivityType[] = |
| 1491 "user_experience_metrics.stability.current_foreground_activity_type"; |
| 1492 |
| 1493 // Tracks which Activities were launched during the last session. |
| 1494 // See |metrics_service_android.cc| for its usage. |
| 1495 const char kStabilityLaunchedActivityFlags[] = |
| 1496 "user_experience_metrics.stability.launched_activity_flags"; |
| 1497 |
| 1498 // List pref: Counts how many times each Activity was launched. |
| 1499 // Indexed into by ActivityTypeIds::Type. |
| 1500 const char kStabilityLaunchedActivityCounts[] = |
| 1501 "user_experience_metrics.stability.launched_activity_counts"; |
| 1502 |
| 1503 // List pref: Counts how many times each Activity type was in the foreground |
| 1504 // when a UMA session failed to be shut down properly. |
| 1505 // Indexed into by ActivityTypeIds::Type. |
| 1506 const char kStabilityCrashedActivityCounts[] = |
| 1507 "user_experience_metrics.stability.crashed_activity_counts"; |
| 1508 #endif |
| 1509 |
| 1487 // Number of times the browser has been able to register crash reporting. | 1510 // Number of times the browser has been able to register crash reporting. |
| 1488 const char kStabilityBreakpadRegistrationSuccess[] = | 1511 const char kStabilityBreakpadRegistrationSuccess[] = |
| 1489 "user_experience_metrics.stability.breakpad_registration_ok"; | 1512 "user_experience_metrics.stability.breakpad_registration_ok"; |
| 1490 | 1513 |
| 1491 // Number of times the browser has failed to register crash reporting. | 1514 // Number of times the browser has failed to register crash reporting. |
| 1492 const char kStabilityBreakpadRegistrationFail[] = | 1515 const char kStabilityBreakpadRegistrationFail[] = |
| 1493 "user_experience_metrics.stability.breakpad_registration_fail"; | 1516 "user_experience_metrics.stability.breakpad_registration_fail"; |
| 1494 | 1517 |
| 1495 // Number of times the browser has been run under a debugger. | 1518 // Number of times the browser has been run under a debugger. |
| 1496 const char kStabilityDebuggerPresent[] = | 1519 const char kStabilityDebuggerPresent[] = |
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2626 | 2649 |
| 2627 // The number of seconds since epoch that the OS password was last changed. | 2650 // The number of seconds since epoch that the OS password was last changed. |
| 2628 const char kOsPasswordLastChanged[] = | 2651 const char kOsPasswordLastChanged[] = |
| 2629 "password_manager.os_password_last_changed"; | 2652 "password_manager.os_password_last_changed"; |
| 2630 #endif | 2653 #endif |
| 2631 | 2654 |
| 2632 // Whether DNS Quick Check is disabled in proxy resolution. | 2655 // Whether DNS Quick Check is disabled in proxy resolution. |
| 2633 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2656 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
| 2634 | 2657 |
| 2635 } // namespace prefs | 2658 } // namespace prefs |
| OLD | NEW |