Index: remoting/host/chromoting_messages.h |
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h |
index 1d2a5740db4d769b44e02a3108eda63ec6090db6..45b9959b2bd71e552f494a48fd0358410201777d 100644 |
--- a/remoting/host/chromoting_messages.h |
+++ b/remoting/host/chromoting_messages.h |
@@ -14,6 +14,7 @@ |
#include "remoting/host/screen_resolution.h" |
#include "remoting/protocol/errors.h" |
#include "remoting/protocol/transport.h" |
+#include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" |
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
#endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_ |
@@ -172,9 +173,13 @@ IPC_STRUCT_BEGIN(SerializedDesktopFrame) |
IPC_STRUCT_MEMBER(webrtc::DesktopVector, dpi) |
IPC_STRUCT_END() |
+IPC_ENUM_TRAITS_MAX_VALUE(webrtc::DesktopCapturer::Result, |
+ webrtc::DesktopCapturer::Result::ERROR_PERMANENT) |
Jamie
2016/06/14 21:22:44
Relying on ERROR_PERMANENT as being the max value
Sergey Ulanov
2016/06/15 20:30:10
Done.
|
+ |
// Notifies the network process that a shared buffer has been created. |
-IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_CaptureCompleted, |
- SerializedDesktopFrame /* frame */ ) |
+IPC_MESSAGE_CONTROL2(ChromotingDesktopNetworkMsg_CaptureResult, |
+ webrtc::DesktopCapturer::Result /* result */, |
+ SerializedDesktopFrame /* frame */) |
// Carries a cursor share update from the desktop session agent to the client. |
IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_MouseCursor, |