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

Unified Diff: remoting/host/constants.h

Issue 10823083: [Chromoting] Implement the host domain policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 8 years, 5 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 | « no previous file | remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/constants.h
diff --git a/remoting/host/constants.h b/remoting/host/constants.h
index 1737b34a4524f4bfb0254975dd849e36a36eda60..fb329061169535b20d4f002b4679ea6a37e039de 100644
--- a/remoting/host/constants.h
+++ b/remoting/host/constants.h
@@ -13,17 +13,22 @@ namespace remoting {
// Please keep this enum in sync with:
// remoting/host/installer/mac/PrivilegedHelperTools/
// org.chromium.chromoting.me2me.sh
+// and remoting/tools/me2me_virtual_host.py.
enum HostExitCodes {
+ // Error codes that don't indicate a permanent error condition.
kSuccessExitCode = 0,
kReservedForX11ExitCode = 1,
+
+ // Error codes that do indicate a permanent error condition.
kInvalidHostConfigurationExitCode = 2,
kInvalidHostIdExitCode = 3,
kInvalidOauthCredentialsExitCode = 4,
+ kInvalidHostDomainExitCode = 5,
// The range of the exit codes that should be interpreted as a permanent error
// condition.
kMinPermanentErrorExitCode = kInvalidHostConfigurationExitCode,
- kMaxPermanentErrorExitCode = kInvalidOauthCredentialsExitCode
+ kMaxPermanentErrorExitCode = kInvalidHostDomainExitCode
};
#if defined(OS_WIN)
« no previous file with comments | « no previous file | remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698