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

Unified Diff: remoting/host/chromoting_messages.h

Issue 2050353002: Update webrtc::DesktopCapturer clients to implement OnCaptureResult(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromeos Created 4 years, 6 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 | « remoting/host/chromeos/aura_desktop_capturer_unittest.cc ('k') | remoting/host/desktop_capturer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_messages.h
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h
index 1d2a5740db4d769b44e02a3108eda63ec6090db6..8a60aa11ad374b196d3ae685bb8c8f9a929c7ffb 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::MAX_VALUE)
+
// 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,
« no previous file with comments | « remoting/host/chromeos/aura_desktop_capturer_unittest.cc ('k') | remoting/host/desktop_capturer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698