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

Unified Diff: chrome/browser/policy/policy_notifier.cc

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/policy_notifier.cc
diff --git a/chrome/browser/policy/policy_notifier.cc b/chrome/browser/policy/policy_notifier.cc
index ba2b4d8a9043f371dbea23e74a265b351c1bbe45..8f85af82b1222a71f1b93f25bf87a013c3a6f05c 100644
--- a/chrome/browser/policy/policy_notifier.cc
+++ b/chrome/browser/policy/policy_notifier.cc
@@ -50,7 +50,8 @@ void PolicyNotifier::RecomputeState() {
error_details_ = CloudPolicySubsystem::NO_DETAILS;
} else if (s[TOKEN_FETCHER] == CloudPolicySubsystem::UNENROLLED &&
(e[TOKEN_FETCHER] == CloudPolicySubsystem::BAD_SERIAL_NUMBER ||
- e[TOKEN_FETCHER] == CloudPolicySubsystem::BAD_ENROLLMENT_MODE)) {
+ e[TOKEN_FETCHER] == CloudPolicySubsystem::BAD_ENROLLMENT_MODE ||
+ e[TOKEN_FETCHER] == CloudPolicySubsystem::MISSING_LICENSES)) {
state_ = s[TOKEN_FETCHER];
error_details_ = e[TOKEN_FETCHER];
} else if (s[TOKEN_FETCHER] == CloudPolicySubsystem::NETWORK_ERROR) {

Powered by Google App Engine
This is Rietveld 408576698