| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 namespace prefs { | 7 namespace prefs { |
| 8 | 8 |
| 9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
| 10 // These are attached to the user profile | 10 // These are attached to the user profile |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 L"user_experience_metrics.stability.incomplete_session_end_count"; | 359 L"user_experience_metrics.stability.incomplete_session_end_count"; |
| 360 | 360 |
| 361 // Number of times a page load event occurred since the last report. | 361 // Number of times a page load event occurred since the last report. |
| 362 const wchar_t kStabilityPageLoadCount[] = | 362 const wchar_t kStabilityPageLoadCount[] = |
| 363 L"user_experience_metrics.stability.page_load_count"; | 363 L"user_experience_metrics.stability.page_load_count"; |
| 364 | 364 |
| 365 // Number of times a renderer process crashed since the last report. | 365 // Number of times a renderer process crashed since the last report. |
| 366 const wchar_t kStabilityRendererCrashCount[] = | 366 const wchar_t kStabilityRendererCrashCount[] = |
| 367 L"user_experience_metrics.stability.renderer_crash_count"; | 367 L"user_experience_metrics.stability.renderer_crash_count"; |
| 368 | 368 |
| 369 // Number of times an extension renderer process crashed since the last report. |
| 370 const wchar_t kStabilityExtensionRendererCrashCount[] = |
| 371 L"user_experience_metrics.stability.extension_renderer_crash_count"; |
| 372 |
| 369 // Time when the app was last launched, in seconds since the epoch. | 373 // Time when the app was last launched, in seconds since the epoch. |
| 370 const wchar_t kStabilityLaunchTimeSec[] = | 374 const wchar_t kStabilityLaunchTimeSec[] = |
| 371 L"user_experience_metrics.stability.launch_time_sec"; | 375 L"user_experience_metrics.stability.launch_time_sec"; |
| 372 | 376 |
| 373 // Time when the app was last known to be running, in seconds since | 377 // Time when the app was last known to be running, in seconds since |
| 374 // the epoch. | 378 // the epoch. |
| 375 const wchar_t kStabilityLastTimestampSec[] = | 379 const wchar_t kStabilityLastTimestampSec[] = |
| 376 L"user_experience_metrics.stability.last_timestamp_sec"; | 380 L"user_experience_metrics.stability.last_timestamp_sec"; |
| 377 | 381 |
| 378 // Number of milliseconds that the main application process was up since | 382 // Number of milliseconds that the main application process was up since |
| 379 // the last report. | 383 // the last report. |
| 380 const wchar_t kStabilityUptimeSec[] = | 384 const wchar_t kStabilityUptimeSec[] = |
| 381 L"user_experience_metrics.stability.uptime_sec"; | 385 L"user_experience_metrics.stability.uptime_sec"; |
| 382 | 386 |
| 383 // This is the location of a list of dictionaries of plugin stability stats. | 387 // This is the location of a list of dictionaries of plugin stability stats. |
| 384 const wchar_t kStabilityPluginStats[] = | 388 const wchar_t kStabilityPluginStats[] = |
| 385 L"user_experience_metrics.stability.plugin_stats2"; | 389 L"user_experience_metrics.stability.plugin_stats2"; |
| 386 | 390 |
| 387 // Number of times the renderer has become non-responsive since the last | 391 // Number of times the renderer has become non-responsive since the last |
| 388 // report. | 392 // report. |
| 389 const wchar_t kStabilityRendererHangCount[] = | 393 const wchar_t kStabilityRendererHangCount[] = |
| 390 L"user_experience_metrics.stability.renderer_hang_count"; | 394 L"user_experience_metrics.stability.renderer_hang_count"; |
| 391 | 395 |
| 396 // Total number of child process crashes (other than renderer / extension |
| 397 // renderer ones, and plugin children, which are counted separately) since the |
| 398 // last report. |
| 399 const wchar_t kStabilityChildProcessCrashCount[] = |
| 400 L"user_experience_metrics.stability.child_process_crash_count"; |
| 401 |
| 392 // Number of times the browser has been able to register crash reporting. | 402 // Number of times the browser has been able to register crash reporting. |
| 393 const wchar_t kStabilityBreakpadRegistrationSuccess[] = | 403 const wchar_t kStabilityBreakpadRegistrationSuccess[] = |
| 394 L"user_experience_metrics.stability.breakpad_registration_ok"; | 404 L"user_experience_metrics.stability.breakpad_registration_ok"; |
| 395 | 405 |
| 396 // Number of times the browser has failed to register crash reporting. | 406 // Number of times the browser has failed to register crash reporting. |
| 397 const wchar_t kStabilityBreakpadRegistrationFail[] = | 407 const wchar_t kStabilityBreakpadRegistrationFail[] = |
| 398 L"user_experience_metrics.stability.breakpad_registration_fail"; | 408 L"user_experience_metrics.stability.breakpad_registration_fail"; |
| 399 | 409 |
| 400 // Number of times the browser has been run under a debugger. | 410 // Number of times the browser has been run under a debugger. |
| 401 const wchar_t kStabilityDebuggerPresent[] = | 411 const wchar_t kStabilityDebuggerPresent[] = |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; | 600 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; |
| 591 | 601 |
| 592 // Create web application shortcut dialog preferences. | 602 // Create web application shortcut dialog preferences. |
| 593 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop"; | 603 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop"; |
| 594 const wchar_t kWebAppCreateInAppsMenu[] = | 604 const wchar_t kWebAppCreateInAppsMenu[] = |
| 595 L"browser.web_app.create_in_apps_menu"; | 605 L"browser.web_app.create_in_apps_menu"; |
| 596 const wchar_t kWebAppCreateInQuickLaunchBar[] = | 606 const wchar_t kWebAppCreateInQuickLaunchBar[] = |
| 597 L"browser.web_app.create_in_quick_launch_bar"; | 607 L"browser.web_app.create_in_quick_launch_bar"; |
| 598 | 608 |
| 599 } // namespace prefs | 609 } // namespace prefs |
| OLD | NEW |