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

Unified Diff: components/policy/core/browser/cloud/message_util.cc

Issue 116273002: Added support for signed policy blobs on desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for ios. Created 6 years, 11 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: components/policy/core/browser/cloud/message_util.cc
diff --git a/components/policy/core/browser/cloud/message_util.cc b/components/policy/core/browser/cloud/message_util.cc
index ea5aa03bd692b582c9c6fa2392f3edc24043bb71..f394762b5e0c7f58247fcf019b468ec97152ec0c 100644
--- a/components/policy/core/browser/cloud/message_util.cc
+++ b/components/policy/core/browser/cloud/message_util.cc
@@ -73,6 +73,10 @@ int GetIDSForValidationStatus(CloudPolicyValidatorBase::Status status) {
return IDS_POLICY_VALIDATION_BAD_USERNAME;
case CloudPolicyValidatorBase::VALIDATION_POLICY_PARSE_ERROR:
return IDS_POLICY_VALIDATION_POLICY_PARSE_ERROR;
+ case CloudPolicyValidatorBase::VALIDATION_BAD_KEY_VERIFICATION_SIGNATURE:
+ return IDS_POLICY_VALIDATION_BAD_KEY_VERIFICATION_SIGNATURE;
+ case CloudPolicyValidatorBase::VALIDATION_STATUS_SIZE:
+ NOTREACHED();
}
NOTREACHED() << "Unhandled validation status " << status;
return IDS_POLICY_VALIDATION_UNKNOWN_ERROR;

Powered by Google App Engine
This is Rietveld 408576698