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

Unified Diff: chrome/browser/policy/device_token_fetcher.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
Index: chrome/browser/policy/device_token_fetcher.h
diff --git a/chrome/browser/policy/device_token_fetcher.h b/chrome/browser/policy/device_token_fetcher.h
index 4fba3299fdac9d508404a10ca650aca8f5723238..731fd985b5f78a9bf6a0730901a70b7ffd4e3cf6 100644
--- a/chrome/browser/policy/device_token_fetcher.h
+++ b/chrome/browser/policy/device_token_fetcher.h
@@ -51,6 +51,7 @@ class DeviceTokenFetcher {
virtual void SetUnmanagedState();
virtual void SetSerialNumberInvalidState();
+ virtual void SetMissingLicensesState();
// Cancels any pending work on this fetcher and resets it to inactive state.
void Reset();
@@ -74,6 +75,8 @@ class DeviceTokenFetcher {
STATE_UNMANAGED,
// The device is not enlisted for the domain.
STATE_BAD_SERIAL,
+ // The licenses for the domain have expired or have been exhausted.
+ STATE_MISSING_LICENSES,
// Error, retry later.
STATE_ERROR,
// Temporary error. Retry sooner.
« no previous file with comments | « chrome/browser/policy/device_management_service_unittest.cc ('k') | chrome/browser/policy/device_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698