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

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: Cleaning 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 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1466 1466
1467 // On Chrome OS, total number of kernel crashes since the last report. 1467 // On Chrome OS, total number of kernel crashes since the last report.
1468 const char kStabilityKernelCrashCount[] = 1468 const char kStabilityKernelCrashCount[] =
1469 "user_experience_metrics.stability.kernel_crash_count"; 1469 "user_experience_metrics.stability.kernel_crash_count";
1470 1470
1471 // On Chrome OS, total number of unclean system shutdowns since the 1471 // On Chrome OS, total number of unclean system shutdowns since the
1472 // last report. 1472 // last report.
1473 const char kStabilitySystemUncleanShutdownCount[] = 1473 const char kStabilitySystemUncleanShutdownCount[] =
1474 "user_experience_metrics.stability.system_unclean_shutdowns"; 1474 "user_experience_metrics.stability.system_unclean_shutdowns";
1475 1475
1476 #if defined(OS_ANDROID)
1477 // ID of the Activity that is currently in the foreground.
1478 const char kStabilityForegroundActivity[] =
1479 "user_experience_metrics.stability.foreground_activity";
1480
1481 // ORed set of flags indicating which Activities were launched during the
1482 // last session.
1483 const char kStabilityLaunchedActivityFlags[] =
1484 "user_experience_metrics.stability.launched_activity_flags";
1485
1486 // Counts how many times the main browser Activity was launched.
1487 const char kStabilityLaunchCountMainActivity[] =
1488 "user_experience_metrics.stability.launch_count_main_activity";
1489
1490 // Counts how many times a FullScreenActivity was launched.
1491 const char kStabilityLaunchCountFullScreenActivity[] =
1492 "user_experience_metrics.stability.launch_count_full_screen_activity";
1493
1494 // Counts how many times the main browser Activity crashed.
1495 const char kStabilityCrashCountMainActivity[] =
1496 "user_experience_metrics.stability.crash_count_main_activity";
1497
1498 // Counts how many times a FullScreenActivity crashed.
1499 const char kStabilityCrashCountFullScreenActivity[] =
1500 "user_experience_metrics.stability.crash_count_full_screen_activity";
1501 #endif
1502
1476 // Number of times the browser has been able to register crash reporting. 1503 // Number of times the browser has been able to register crash reporting.
1477 const char kStabilityBreakpadRegistrationSuccess[] = 1504 const char kStabilityBreakpadRegistrationSuccess[] =
1478 "user_experience_metrics.stability.breakpad_registration_ok"; 1505 "user_experience_metrics.stability.breakpad_registration_ok";
1479 1506
1480 // Number of times the browser has failed to register crash reporting. 1507 // Number of times the browser has failed to register crash reporting.
1481 const char kStabilityBreakpadRegistrationFail[] = 1508 const char kStabilityBreakpadRegistrationFail[] =
1482 "user_experience_metrics.stability.breakpad_registration_fail"; 1509 "user_experience_metrics.stability.breakpad_registration_fail";
1483 1510
1484 // Number of times the browser has been run under a debugger. 1511 // Number of times the browser has been run under a debugger.
1485 const char kStabilityDebuggerPresent[] = 1512 const char kStabilityDebuggerPresent[] =
(...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after
2629 #if defined(OS_WIN) 2656 #if defined(OS_WIN)
2630 // Whether the password was blank, only valid if OS password was last changed 2657 // Whether the password was blank, only valid if OS password was last changed
2631 // on or before the value contained in kOsPasswordLastChanged. 2658 // on or before the value contained in kOsPasswordLastChanged.
2632 const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 2659 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
2633 2660
2634 // The number of seconds since epoch that the OS password was last changed. 2661 // The number of seconds since epoch that the OS password was last changed.
2635 const char kOsPasswordLastChanged[] = 2662 const char kOsPasswordLastChanged[] =
2636 "password_manager.os_password_last_changed"; 2663 "password_manager.os_password_last_changed";
2637 #endif 2664 #endif
2638 } // namespace prefs 2665 } // namespace prefs
OLDNEW
« chrome/browser/metrics/metrics_service.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