From 4c17abe35e0ffaea71dd3c2f5f67c3ddf49a6ef3 Mon Sep 17 00:00:00 2001 From: Sergey Ulanov Date: Wed, 15 Jun 2016 13:55:44 -0700 Subject: [PATCH] Add DesktopCapturer::Result::MAX_VALUE MAX_VALUE will be used in chromoting_messages.h to define range of valid DesktopCapturer::Result values. BUG=webrtc:5950 R=jamiewalch@chromium.org Review URL: https://codereview.webrtc.org/2069103003 . Cr-Commit-Position: refs/heads/master@{#13157} --- webrtc/modules/desktop_capture/desktop_capturer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webrtc/modules/desktop_capture/desktop_capturer.h b/webrtc/modules/desktop_capture/desktop_capturer.h index 80d910908b..d6da81d9fe 100644 --- a/webrtc/modules/desktop_capture/desktop_capturer.h +++ b/webrtc/modules/desktop_capture/desktop_capturer.h @@ -37,6 +37,8 @@ class DesktopCapturer { // Capture has failed and will keep failing if the caller tries calling // Capture() again. ERROR_PERMANENT, + + MAX_VALUE = ERROR_PERMANENT }; // Interface that must be implemented by the DesktopCapturer consumers.