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

Unified Diff: remoting/host/host_exit_codes.cc

Issue 1061903002: Disable chromoting service on permanent errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: remoting/host/host_exit_codes.cc
diff --git a/remoting/host/host_exit_codes.cc b/remoting/host/host_exit_codes.cc
index 4e206a58d18003969b2b314bc6a36073c03b7c8b..3c03a28e4ebf2029870d63c5ced853753d9b6f35 100644
--- a/remoting/host/host_exit_codes.cc
+++ b/remoting/host/host_exit_codes.cc
@@ -14,6 +14,8 @@ const NameMapElement<HostExitCodes> kHostExitCodeStrings[] = {
{ kSuccessExitCode, "SUCCESS_EXIT" },
{ kInitializationFailed, "INITIALIZATION_FAILED" },
{ kInvalidHostConfigurationExitCode, "INVALID_HOST_CONFIGURATION" },
+ { kPolicyReadError, "POLICY_READ_ERROR" },
+ { kPolicyChangeRequiresRestart, "POLICY_CHANGE_REQUIRES_RESTART" },
{ kInvalidHostIdExitCode, "INVALID_HOST_ID" },
{ kInvalidOauthCredentialsExitCode, "INVALID_OAUTH_CREDENTIALS" },
{ kInvalidHostDomainExitCode, "INVALID_HOST_DOMAIN" },

Powered by Google App Engine
This is Rietveld 408576698