diff options
Diffstat (limited to 'constants.h')
-rw-r--r-- | constants.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/constants.h b/constants.h index dc39d5a3..c6ffb746 100644 --- a/constants.h +++ b/constants.h @@ -71,6 +71,19 @@ typedef enum { kNumDownloadSources } DownloadSource; +// A payload can be a Full or Delta payload. In some cases, a Full payload is +// used even when a Delta payload was available for the update, called here +// ForcedFull. The PayloadType enum is only used to send UMA metrics about the +// successfully applied payload. +typedef enum { + kPayloadTypeFull, + kPayloadTypeDelta, + kPayloadTypeForcedFull, + + // Note: Add new payload types only above this line. + kNumPayloadTypes +} PayloadType; + // The default number of UMA buckets for metrics. const int kNumDefaultUmaBuckets = 50; |