Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Unified Diff: components/policy/core/common/cloud/cloud_policy_client.h

Issue 2896863002: Add UMA histograms for time between policy fetches (Closed)
Patch Set: Rebase to ToT Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/policy/core/common/cloud/cloud_policy_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/cloud/cloud_policy_client.h
diff --git a/components/policy/core/common/cloud/cloud_policy_client.h b/components/policy/core/common/cloud/cloud_policy_client.h
index 1f4f6efd9c94364d1e72da709a128198fa4aaa04..1e47306485d038da44e18a343843cb8aa09b67bf 100644
--- a/components/policy/core/common/cloud/cloud_policy_client.h
+++ b/components/policy/core/common/cloud/cloud_policy_client.h
@@ -221,6 +221,8 @@ class POLICY_EXPORT CloudPolicyClient {
last_policy_timestamp_ = timestamp;
}
+ const base::Time& last_policy_timestamp() { return last_policy_timestamp_; }
+
void set_public_key_version(int public_key_version) {
public_key_version_ = public_key_version;
public_key_version_valid_ = true;
« no previous file with comments | « no previous file | components/policy/core/common/cloud/cloud_policy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698