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

Unified Diff: remoting/host/constants.h

Issue 10106013: Chromoting: stopping the service if the host ID is permanently not recognized by the could. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | remoting/host/heartbeat_sender.cc » ('j') | remoting/host/wts_session_process_launcher_win.cc » ('J')
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
new file mode 100644
index 0000000000000000000000000000000000000000..02f89766ec7083debd23c2dda6f54aa40ce47a83
--- /dev/null
+++ b/remoting/host/constants.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_HOST_CONSTANTS_H_
+#define REMOTING_HOST_CONSTANTS_H_
+
+namespace remoting {
+
+// Known host exit exit codes.
+const int kSuccessExitCode = 0;
Sergey Ulanov 2012/04/17 17:24:24 Make it enum?
alexeypa (please no reviews) 2012/04/17 18:35:53 Done.
+const int kInvalidHostConfigurationExitCode = 1;
Lambros 2012/04/17 18:04:03 Please could you also update the me2me_virtual_hos
alexeypa (please no reviews) 2012/04/17 18:35:53 Done.
+const int kInvalidHostIdExitCode = 2;
+
Sergey Ulanov 2012/04/17 17:24:24 Please add one more for invalid OAuth credentials.
alexeypa (please no reviews) 2012/04/17 17:45:01 You must have been reading my thoughts. I'm actual
alexeypa (please no reviews) 2012/04/17 18:35:53 Done.
+} // namespace remoting
+
+#endif // REMOTING_HOST_CONSTANTS_H_
« no previous file with comments | « no previous file | remoting/host/heartbeat_sender.cc » ('j') | remoting/host/wts_session_process_launcher_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698