commit | e3b22a6ec16588ac6981f00baed63a102359ee2b | [log] [tgz] |
---|---|---|
author | Ilya Sherman <[email protected]> | Mon Jan 22 06:10:21 2018 |
committer | Commit Bot <[email protected]> | Mon Jan 22 06:10:21 2018 |
tree | e8c289a07e5225ad96a4fc77880c6646be04b72b | |
parent | e17e8e9fd9d303d3b8d12628ba15e755a3212d40 [diff] [blame] |
[Variations] Add a method to load the saved safe seed from prefs. [email protected] Bug: 727984 Change-Id: I9b6e1dd894ed6b8d3bf1d5277d2e40229a688f4b Reviewed-on: https://chromium-review.googlesource.com/874618 Commit-Queue: Ilya Sherman <[email protected]> Reviewed-by: Alexei Svitkine <[email protected]> Cr-Commit-Position: refs/heads/master@{#530816}
diff --git a/components/variations/metrics.cc b/components/variations/metrics.cc index a59d3d6..05cd56a 100644 --- a/components/variations/metrics.cc +++ b/components/variations/metrics.cc
@@ -20,6 +20,11 @@ LoadSeedResult::ENUM_SIZE); } +void RecordLoadSafeSeedResult(LoadSeedResult state) { + UMA_HISTOGRAM_ENUMERATION("Variations.SafeMode.LoadSafeSeed.Result", state, + LoadSeedResult::ENUM_SIZE); +} + void RecordStoreSeedResult(StoreSeedResult result) { UMA_HISTOGRAM_ENUMERATION("Variations.SeedStoreResult", result, StoreSeedResult::ENUM_SIZE);