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

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

Issue 103943006: Let MetricsService know about some Android Activities (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use regular histograms Created 7 years 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 | Annotate | Revision Log
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 1472 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // ID of the Activity that is currently in the foreground.
1495 const char kStabilityForegroundActivity[] =
1496 "user_experience_metrics.stability.foreground_activity";
1497
1498 // ORed set of flags indicating which Activities were launched during the
1499 // last session.
1500 const char kStabilityLaunchedActivityFlags[] =
1501 "user_experience_metrics.stability.launched_activity_flags";
1502
1503 // Counts how many times the main browser Activity was launched.
1504 const char kStabilityLaunchCountMainActivity[] =
1505 "user_experience_metrics.stability.launch_count_main_activity";
1506
1507 // Counts how many times a FullScreenActivity was launched.
1508 const char kStabilityLaunchCountFullScreenActivity[] =
1509 "user_experience_metrics.stability.launch_count_full_screen_activity";
1510
1511 // Counts how many times the main browser Activity crashed.
1512 const char kStabilityCrashCountMainActivity[] =
1513 "user_experience_metrics.stability.crash_count_main_activity";
1514
1515 // Counts how many times a FullScreenActivity crashed.
1516 const char kStabilityCrashCountFullScreenActivity[] =
1517 "user_experience_metrics.stability.crash_count_full_screen_activity";
1518 #endif
1519
1493 // Number of times the browser has been able to register crash reporting. 1520 // Number of times the browser has been able to register crash reporting.
1494 const char kStabilityBreakpadRegistrationSuccess[] = 1521 const char kStabilityBreakpadRegistrationSuccess[] =
1495 "user_experience_metrics.stability.breakpad_registration_ok"; 1522 "user_experience_metrics.stability.breakpad_registration_ok";
1496 1523
1497 // Number of times the browser has failed to register crash reporting. 1524 // Number of times the browser has failed to register crash reporting.
1498 const char kStabilityBreakpadRegistrationFail[] = 1525 const char kStabilityBreakpadRegistrationFail[] =
1499 "user_experience_metrics.stability.breakpad_registration_fail"; 1526 "user_experience_metrics.stability.breakpad_registration_fail";
1500 1527
1501 // Number of times the browser has been run under a debugger. 1528 // Number of times the browser has been run under a debugger.
1502 const char kStabilityDebuggerPresent[] = 1529 const char kStabilityDebuggerPresent[] =
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after
2667 #if defined(OS_WIN) 2694 #if defined(OS_WIN)
2668 // Whether the password was blank, only valid if OS password was last changed 2695 // Whether the password was blank, only valid if OS password was last changed
2669 // on or before the value contained in kOsPasswordLastChanged. 2696 // on or before the value contained in kOsPasswordLastChanged.
2670 const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 2697 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
2671 2698
2672 // The number of seconds since epoch that the OS password was last changed. 2699 // The number of seconds since epoch that the OS password was last changed.
2673 const char kOsPasswordLastChanged[] = 2700 const char kOsPasswordLastChanged[] =
2674 "password_manager.os_password_last_changed"; 2701 "password_manager.os_password_last_changed";
2675 #endif 2702 #endif
2676 } // namespace prefs 2703 } // namespace prefs
OLDNEW
« chrome/browser/metrics/metrics_service_android.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698