Index: remoting/host/host_main.cc |
diff --git a/remoting/host/host_main.cc b/remoting/host/host_main.cc |
index 512bc645ebfbeecaa26ea589eaa838afe46b3f52..75ce6fdfba8a25be507eb9794fbb19812efe3ffe 100644 |
--- a/remoting/host/host_main.cc |
+++ b/remoting/host/host_main.cc |
@@ -36,11 +36,13 @@ |
namespace remoting { |
// Known entry points. |
+int HostProcessMain(); |
+#if defined(OS_WIN) |
int DaemonProcessMain(); |
int DesktopProcessMain(); |
int ElevatedControllerMain(); |
-int HostProcessMain(); |
int RdpDesktopSessionMain(); |
+#endif // defined(OS_WIN) |
const char kElevateSwitchName[] = "elevate"; |
const char kProcessTypeSwitchName[] = "type"; |
@@ -126,29 +128,6 @@ int RunElevated() { |
return kSuccessExitCode; |
} |
-#else // !defined(OS_WIN) |
- |
-// Fake entry points that exist only on Windows. |
-int DaemonProcessMain() { |
- NOTREACHED(); |
- return kInitializationFailed; |
-} |
- |
-int DesktopProcessMain() { |
- NOTREACHED(); |
- return kInitializationFailed; |
-} |
- |
-int ElevatedControllerMain() { |
- NOTREACHED(); |
- return kInitializationFailed; |
-} |
- |
-int RdpDesktopSessionMain() { |
- NOTREACHED(); |
- return kInitializationFailed; |
-} |
- |
#endif // !defined(OS_WIN) |
// Select the entry point corresponding to the process type. |