Index: remoting/host/desktop_environment.h |
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h |
index 0df2e01a3fc168c41b83e96815b27a67daf0c7e2..0e8b480af7265a51cc775a5e359b67b54c447646 100644 |
--- a/remoting/host/desktop_environment.h |
+++ b/remoting/host/desktop_environment.h |
@@ -40,6 +40,13 @@ class DesktopEnvironment { |
virtual scoped_ptr<InputInjector> CreateInputInjector() = 0; |
virtual scoped_ptr<ScreenControls> CreateScreenControls() = 0; |
virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer() = 0; |
+ |
+ // Returns the set of all capabilities supported by |this|. |
+ virtual std::string GetCapabilities() const = 0; |
+ |
+ // Passes the final set of capabilities negotiated between the client and host |
+ // to |this|. |
+ virtual void SetCapabilities(const std::string& capabilities) = 0; |
}; |
// Used to create |DesktopEnvironment| instances. |