Use in-class initializers for base::WeakPtrFactory in components/.

Generated by: https://chromium-review.googlesource.com/c/chromium/src/+/1689216

Bug: 981415
Change-Id: I706ec55f1f533ef616f400791d69a51e9a151da1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1699508
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Colin Blundell <blundell@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#677340}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5c341f6dd1cf698d0ab71b75a2e35cdfee44323b
12 files changed
tree: f2f69e3ace8e9fd2f5ccc925d8a48f2bbbc2ede4
  1. BUILD.gn
  2. DEPS
  3. OWNERS
  4. README
  5. call_stack_profile_builder.cc
  6. call_stack_profile_builder.h
  7. call_stack_profile_builder_unittest.cc
  8. call_stack_profile_collector.cc
  9. call_stack_profile_collector.h
  10. call_stack_profile_encoding.cc
  11. call_stack_profile_encoding.h
  12. call_stack_profile_metrics_provider.cc
  13. call_stack_profile_metrics_provider.h
  14. call_stack_profile_metrics_provider_unittest.cc
  15. call_stack_profile_params.h
  16. child_call_stack_profile_collector.cc
  17. child_call_stack_profile_collector.h
  18. child_call_stack_profile_collector_unittest.cc
  19. clean_exit_beacon.cc
  20. clean_exit_beacon.h
  21. client_info.cc
  22. client_info.h
  23. cloned_install_detector.cc
  24. cloned_install_detector.h
  25. cloned_install_detector_unittest.cc
  26. component_metrics_provider.cc
  27. component_metrics_provider.h
  28. component_metrics_provider_unittest.cc
  29. cpu_metrics_provider.cc
  30. cpu_metrics_provider.h
  31. daily_event.cc
  32. daily_event.h
  33. daily_event_unittest.cc
  34. data_use_tracker.cc
  35. data_use_tracker.h
  36. data_use_tracker_unittest.cc
  37. delegating_provider.cc
  38. delegating_provider.h
  39. demographic_metrics_provider.cc
  40. demographic_metrics_provider.h
  41. demographic_metrics_provider_unittest.cc
  42. drive_metrics_provider.cc
  43. drive_metrics_provider.h
  44. drive_metrics_provider_android.cc
  45. drive_metrics_provider_fuchsia.cc
  46. drive_metrics_provider_ios.mm
  47. drive_metrics_provider_linux.cc
  48. drive_metrics_provider_mac.mm
  49. drive_metrics_provider_unittest.cc
  50. drive_metrics_provider_win.cc
  51. enabled_state_provider.cc
  52. enabled_state_provider.h
  53. environment_recorder.cc
  54. environment_recorder.h
  55. environment_recorder_unittest.cc
  56. expired_histogram_util.cc
  57. expired_histogram_util.h
  58. expired_histograms_checker.cc
  59. expired_histograms_checker.h
  60. expired_histograms_checker_unittest.cc
  61. field_trials_provider.cc
  62. field_trials_provider.h
  63. field_trials_provider_unittest.cc
  64. file_metrics_provider.cc
  65. file_metrics_provider.h
  66. file_metrics_provider_unittest.cc
  67. generate_expired_histograms_array.gni
  68. gpu/
  69. histogram_encoder.cc
  70. histogram_encoder.h
  71. histogram_encoder_unittest.cc
  72. log_decoder.cc
  73. log_decoder.h
  74. log_store.h
  75. machine_id_provider.h
  76. machine_id_provider_stub.cc
  77. machine_id_provider_win.cc
  78. machine_id_provider_win_unittest.cc
  79. metrics_log.cc
  80. metrics_log.h
  81. metrics_log_manager.cc
  82. metrics_log_manager.h
  83. metrics_log_manager_unittest.cc
  84. metrics_log_store.cc
  85. metrics_log_store.h
  86. metrics_log_store_unittest.cc
  87. metrics_log_unittest.cc
  88. metrics_log_uploader.h
  89. metrics_pref_names.cc
  90. metrics_pref_names.h
  91. metrics_provider.cc
  92. metrics_provider.h
  93. metrics_reporting_default_state.cc
  94. metrics_reporting_default_state.h
  95. metrics_reporting_service.cc
  96. metrics_reporting_service.h
  97. metrics_rotation_scheduler.cc
  98. metrics_rotation_scheduler.h
  99. metrics_scheduler.cc
  100. metrics_scheduler.h
  101. metrics_service.cc
  102. metrics_service.h
  103. metrics_service_accessor.cc
  104. metrics_service_accessor.h
  105. metrics_service_client.cc
  106. metrics_service_client.h
  107. metrics_service_unittest.cc
  108. metrics_state_manager.cc
  109. metrics_state_manager.h
  110. metrics_state_manager_unittest.cc
  111. metrics_switches.cc
  112. metrics_switches.h
  113. metrics_upload_scheduler.cc
  114. metrics_upload_scheduler.h
  115. net/
  116. persistent_histograms.cc
  117. persistent_histograms.h
  118. persistent_system_profile.cc
  119. persistent_system_profile.h
  120. persistent_system_profile_unittest.cc
  121. public/
  122. reporting_service.cc
  123. reporting_service.h
  124. reporting_service_unittest.cc
  125. serialization/
  126. single_sample_metrics.cc
  127. single_sample_metrics.h
  128. single_sample_metrics_factory_impl.cc
  129. single_sample_metrics_factory_impl.h
  130. single_sample_metrics_factory_impl_unittest.cc
  131. stability_metrics_helper.cc
  132. stability_metrics_helper.h
  133. stability_metrics_helper_unittest.cc
  134. stability_metrics_provider.cc
  135. stability_metrics_provider.h
  136. stability_metrics_provider_unittest.cc
  137. system_memory_stats_recorder.h
  138. system_memory_stats_recorder_linux.cc
  139. system_session_analyzer_win.cc
  140. system_session_analyzer_win.h
  141. system_session_analyzer_win_unittest.cc
  142. test_enabled_state_provider.cc
  143. test_enabled_state_provider.h
  144. test_metrics_log_uploader.cc
  145. test_metrics_log_uploader.h
  146. test_metrics_provider.cc
  147. test_metrics_provider.h
  148. test_metrics_service_client.cc
  149. test_metrics_service_client.h
  150. ui/
  151. unsent_log_store.cc
  152. unsent_log_store.h
  153. unsent_log_store_metrics.h
  154. unsent_log_store_metrics_impl.cc
  155. unsent_log_store_metrics_impl.h
  156. unsent_log_store_unittest.cc
  157. url_constants.cc
  158. url_constants.h
  159. version_utils.cc
  160. version_utils.h