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

Unified Diff: chrome/browser/policy/enterprise_metrics.h

Issue 10664017: Introduce a new error code from the DM server - 402 - missing licenses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/serials/licenses// Created 8 years, 6 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 | « chrome/browser/policy/device_token_fetcher.cc ('k') | chrome/browser/policy/policy_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/enterprise_metrics.h
diff --git a/chrome/browser/policy/enterprise_metrics.h b/chrome/browser/policy/enterprise_metrics.h
index f343f6d363a6a2414e660dffa37c852cc7ef6f71..05670e227179694cb28f200af284edb1152fc0b7 100644
--- a/chrome/browser/policy/enterprise_metrics.h
+++ b/chrome/browser/policy/enterprise_metrics.h
@@ -45,6 +45,9 @@ enum MetricToken {
kMetricTokenFetchDeviceIdConflict,
// DM server reported that the serial number we try to register is invalid.
kMetricTokenFetchInvalidSerialNumber,
+ // DM server reported that the licenses for the domain have expired or been
+ // exhausted.
+ kMetricMissingLicenses,
kMetricTokenSize // Must be the last.
};
@@ -147,6 +150,9 @@ enum MetricEnrollment {
// The username used to re-enroll the device does not belong to the domain
// that the device was initially enrolled to.
kMetricEnrollmentWrongUserError,
+ // DM server reported that the licenses for the domain has expired or been
+ // exhausted.
+ kMetricMissingLicensesError,
kMetricEnrollmentSize // Must be the last.
};
« no previous file with comments | « chrome/browser/policy/device_token_fetcher.cc ('k') | chrome/browser/policy/policy_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698