diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/base/metrics/ukm_source_id.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/metrics/ukm_source_id.h')
-rw-r--r-- | chromium/base/metrics/ukm_source_id.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/base/metrics/ukm_source_id.h b/chromium/base/metrics/ukm_source_id.h index 3ba01a0d64c..1b9bdccece7 100644 --- a/chromium/base/metrics/ukm_source_id.h +++ b/chromium/base/metrics/ukm_source_id.h @@ -13,7 +13,9 @@ namespace base { // An ID used to identify a Source to UKM, for recording information about it. // These objects are copyable, assignable, and occupy 64-bits per instance. -// Prefer passing them by value. +// Prefer passing them by value. When a new type is added, please also update +// the enum type in third_party/metrics_proto/ukm/source.proto and the +// converting function ToProtobufSourceType. class BASE_EXPORT UkmSourceId { public: enum class Type : int64_t { @@ -21,7 +23,7 @@ class BASE_EXPORT UkmSourceId { // 'custom' source other than the types below. Source of this type has // additional restrictions with logging, as determined by // IsWhitelistedSourceId. - UKM = 0, + DEFAULT = 0, // Sources created by navigation. They will be kept in memory as long as // the associated tab is still alive and the number of sources are within // the max threshold. |