Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: chrome/common/pref_names.cc

Issue 137623002: Let MetricsService know about some Android Activities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert 0 to Histogram::kNoFlags Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1495 1495
1496 // On Chrome OS, total number of kernel crashes since the last report. 1496 // On Chrome OS, total number of kernel crashes since the last report.
1497 const char kStabilityKernelCrashCount[] = 1497 const char kStabilityKernelCrashCount[] =
1498 "user_experience_metrics.stability.kernel_crash_count"; 1498 "user_experience_metrics.stability.kernel_crash_count";
1499 1499
1500 // On Chrome OS, total number of unclean system shutdowns since the 1500 // On Chrome OS, total number of unclean system shutdowns since the
1501 // last report. 1501 // last report.
1502 const char kStabilitySystemUncleanShutdownCount[] = 1502 const char kStabilitySystemUncleanShutdownCount[] =
1503 "user_experience_metrics.stability.system_unclean_shutdowns"; 1503 "user_experience_metrics.stability.system_unclean_shutdowns";
1504 1504
1505 #if defined(OS_ANDROID)
1506 // Activity type that is currently in the foreground for the UMA session.
1507 // Uses the ActivityTypeIds::Type enum.
1508 const char kStabilityForegroundActivityType[] =
1509 "user_experience_metrics.stability.current_foreground_activity_type";
1510
1511 // Tracks which Activities were launched during the last session.
1512 // See |metrics_service_android.cc| for its usage.
1513 const char kStabilityLaunchedActivityFlags[] =
1514 "user_experience_metrics.stability.launched_activity_flags";
1515
1516 // List pref: Counts how many times each Activity was launched.
1517 // Indexed into by ActivityTypeIds::Type.
1518 const char kStabilityLaunchedActivityCounts[] =
1519 "user_experience_metrics.stability.launched_activity_counts";
1520
1521 // List pref: Counts how many times each Activity type was in the foreground
1522 // when a UMA session failed to be shut down properly.
1523 // Indexed into by ActivityTypeIds::Type.
1524 const char kStabilityCrashedActivityCounts[] =
1525 "user_experience_metrics.stability.crashed_activity_counts";
1526 #endif
1527
1505 // Number of times the browser has been able to register crash reporting. 1528 // Number of times the browser has been able to register crash reporting.
1506 const char kStabilityBreakpadRegistrationSuccess[] = 1529 const char kStabilityBreakpadRegistrationSuccess[] =
1507 "user_experience_metrics.stability.breakpad_registration_ok"; 1530 "user_experience_metrics.stability.breakpad_registration_ok";
1508 1531
1509 // Number of times the browser has failed to register crash reporting. 1532 // Number of times the browser has failed to register crash reporting.
1510 const char kStabilityBreakpadRegistrationFail[] = 1533 const char kStabilityBreakpadRegistrationFail[] =
1511 "user_experience_metrics.stability.breakpad_registration_fail"; 1534 "user_experience_metrics.stability.breakpad_registration_fail";
1512 1535
1513 // Number of times the browser has been run under a debugger. 1536 // Number of times the browser has been run under a debugger.
1514 const char kStabilityDebuggerPresent[] = 1537 const char kStabilityDebuggerPresent[] =
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
2685 2708
2686 // The number of seconds since epoch that the OS password was last changed. 2709 // The number of seconds since epoch that the OS password was last changed.
2687 const char kOsPasswordLastChanged[] = 2710 const char kOsPasswordLastChanged[] =
2688 "password_manager.os_password_last_changed"; 2711 "password_manager.os_password_last_changed";
2689 #endif 2712 #endif
2690 2713
2691 // Whether DNS Quick Check is disabled in proxy resolution. 2714 // Whether DNS Quick Check is disabled in proxy resolution.
2692 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2715 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2693 2716
2694 } // namespace prefs 2717 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698