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