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

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: NOTREACHED 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 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 1486
1487 // On Chrome OS, total number of kernel crashes since the last report. 1487 // On Chrome OS, total number of kernel crashes since the last report.
1488 const char kStabilityKernelCrashCount[] = 1488 const char kStabilityKernelCrashCount[] =
1489 "user_experience_metrics.stability.kernel_crash_count"; 1489 "user_experience_metrics.stability.kernel_crash_count";
1490 1490
1491 // On Chrome OS, total number of unclean system shutdowns since the 1491 // On Chrome OS, total number of unclean system shutdowns since the
1492 // last report. 1492 // last report.
1493 const char kStabilitySystemUncleanShutdownCount[] = 1493 const char kStabilitySystemUncleanShutdownCount[] =
1494 "user_experience_metrics.stability.system_unclean_shutdowns"; 1494 "user_experience_metrics.stability.system_unclean_shutdowns";
1495 1495
1496 #if defined(OS_ANDROID)
1497 // ID of the Activity that is currently in the foreground.
Alexei Svitkine (slow) 2013/12/23 16:28:01 What kind of ID and how is it stored (string / int
gone 2013/12/28 01:33:14 Done.
1498 const char kStabilityForegroundActivityType[] =
1499 "user_experience_metrics.stability.foreground_activity";
1500
1501 // ORed set of flags indicating which Activities were launched during the
Alexei Svitkine (slow) 2013/12/23 16:28:01 Which flags? Can you point to the corresponding co
gone 2013/12/28 01:33:14 Done.
1502 // last session.
1503 const char kStabilityLaunchedActivityFlags[] =
1504 "user_experience_metrics.stability.launched_activity_flags";
1505
1506 // Counts how many times the main browser Activity was launched.
1507 const char kStabilityLaunchCountMainActivity[] =
1508 "user_experience_metrics.stability.launch_count_main_activity";
Alexei Svitkine (slow) 2013/12/23 16:28:01 Instead of special casing main activity, full scre
gone 2013/12/28 01:33:14 Which activity is in a singular value; only one ca
1509
1510 // Counts how many times a FullScreenActivity was launched.
1511 const char kStabilityLaunchCountFullScreenActivity[] =
1512 "user_experience_metrics.stability.launch_count_full_screen_activity";
1513
1514 // Counts how many times the main browser Activity crashed.
1515 const char kStabilityCrashCountMainActivity[] =
1516 "user_experience_metrics.stability.crash_count_main_activity";
1517
1518 // Counts how many times a FullScreenActivity crashed.
1519 const char kStabilityCrashCountFullScreenActivity[] =
1520 "user_experience_metrics.stability.crash_count_full_screen_activity";
1521 #endif
1522
1496 // Number of times the browser has been able to register crash reporting. 1523 // Number of times the browser has been able to register crash reporting.
1497 const char kStabilityBreakpadRegistrationSuccess[] = 1524 const char kStabilityBreakpadRegistrationSuccess[] =
1498 "user_experience_metrics.stability.breakpad_registration_ok"; 1525 "user_experience_metrics.stability.breakpad_registration_ok";
1499 1526
1500 // Number of times the browser has failed to register crash reporting. 1527 // Number of times the browser has failed to register crash reporting.
1501 const char kStabilityBreakpadRegistrationFail[] = 1528 const char kStabilityBreakpadRegistrationFail[] =
1502 "user_experience_metrics.stability.breakpad_registration_fail"; 1529 "user_experience_metrics.stability.breakpad_registration_fail";
1503 1530
1504 // Number of times the browser has been run under a debugger. 1531 // Number of times the browser has been run under a debugger.
1505 const char kStabilityDebuggerPresent[] = 1532 const char kStabilityDebuggerPresent[] =
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
2673 const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 2700 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
2674 2701
2675 // The number of seconds since epoch that the OS password was last changed. 2702 // The number of seconds since epoch that the OS password was last changed.
2676 const char kOsPasswordLastChanged[] = 2703 const char kOsPasswordLastChanged[] =
2677 "password_manager.os_password_last_changed"; 2704 "password_manager.os_password_last_changed";
2678 #endif 2705 #endif
2679 2706
2680 // Whether DNS Quick Check is disabled in proxy resolution. 2707 // Whether DNS Quick Check is disabled in proxy resolution.
2681 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2708 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2682 } // namespace prefs 2709 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698