[DTMetrics] Add metrics to the persistence delegates

This CL adds metrics to log the status of the operations that
occur in both the linux and windows key persistence delegate, and
will replace the SYSLOGs that are found throughout the rotation.

Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1377425
Change-Id: I241d589ab76303b311f5e031e118ac681ff24ffd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3962529
Reviewed-by: Owen Min <zmin@chromium.org>
Commit-Queue: Hamda Mare <hmare@google.com>
Reviewed-by: Sebastien Lalancette <seblalancette@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1062322}
NOKEYCHECK=True
GitOrigin-RevId: e5bc45606bfbf7f6184a754a9ca64621306ddc1b
2 files changed
tree: 64ca04cd07925d9450226e88c1c63d499cafe05e
  1. accessibility/
  2. aggregation_service/
  3. android/
  4. attribution_reporting/
  5. binary_size/
  6. bisect/
  7. bisect_repackage/
  8. browserbench-webdriver/
  9. captured_sites/
  10. cast3p/
  11. cfi/
  12. check_ecs_deps/
  13. checkbins/
  14. checklicenses/
  15. checkperms/
  16. checkteamtags/
  17. chrome_extensions/
  18. clang/
  19. code_coverage/
  20. compile_test/
  21. cr/
  22. crates/
  23. crbug/
  24. cros/
  25. cygprofile/
  26. determinism/
  27. diagnosis/
  28. disable_tests/
  29. dromaeo_benchmark_runner/
  30. dump_process_memory/
  31. emacs/
  32. find_runtime_symbols/
  33. flags/
  34. flakiness/
  35. fuchsia/
  36. gdb/
  37. generate_library_loader/
  38. generate_shim_headers/
  39. generate_stubs/
  40. get_asan_chrome/
  41. get_swarming_logs/
  42. git/
  43. gn/
  44. grit/
  45. gritsettings/
  46. idl_parser/
  47. imagediff/
  48. infra/
  49. ipc_fuzzer/
  50. json_comment_eater/
  51. json_data_generator/
  52. json_schema_compiler/
  53. json_to_struct/
  54. l10n/
  55. linux/
  56. lldb/
  57. luci-go/
  58. mac/
  59. mb/
  60. md_browser/
  61. media_engagement_preload/
  62. memory/
  63. metrics/
  64. msan/
  65. oopif/
  66. origin_trials/
  67. page_cycler/
  68. perf/
  69. perfbot-analysis/
  70. polymer/
  71. privacy_budget/
  72. profiling/
  73. protoc_wrapper/
  74. python/
  75. real_world_impact/
  76. resources/
  77. resultdb/
  78. rust/
  79. security/
  80. site_compare/
  81. stats_viewer/
  82. strict_enum_value_checker/
  83. style_variable_generator/
  84. sublime/
  85. symsrc/
  86. tests/
  87. traceline/
  88. tracing/
  89. traffic_annotation/
  90. translation/
  91. typescript/
  92. ubsan/
  93. usb_gadget/
  94. v8_context_snapshot/
  95. valgrind/
  96. variations/
  97. vim/
  98. visual_debugger/
  99. vscode/
  100. web_bluetooth/
  101. web_dev_style/
  102. win/
  103. .gitignore
  104. .style.yapf
  105. add_header.py
  106. add_header_test.py
  107. apply_cpplint_header_guard.py
  108. auto-nav.py
  109. autotest.py
  110. bash-completion
  111. bisect-builds.py
  112. bisect_test.py
  113. boilerplate.py
  114. buildstate.bat
  115. buildstate.py
  116. check_git_config.py
  117. check_grd_for_unused_strings.py
  118. clang-format-js
  119. DEPS
  120. diagnose-me.py
  121. DIR_METADATA
  122. download_optimization_profile.py
  123. hresult_to_enum.py
  124. include_tracer.py
  125. ipc_messages_log.py
  126. licenses.py
  127. make_gtest_filter.py
  128. make_gtest_filter_test.py
  129. multi_process_rss.py
  130. nocompile_driver.py
  131. omahaproxy.py
  132. OWNERS
  133. perry.py
  134. remove_duplicate_includes.py
  135. remove_stale_pyc_files.py
  136. roll_webgl_conformance.py
  137. run-swarmed.py
  138. sort_sources.py
  139. uberblame.py
  140. unused-symbols-report.py
  141. update_pgo_profiles.py
  142. yes_no.py