Index: remoting/host/desktop_environment.h |
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h |
index d3058e0bce0ed1d84e994c4b76d039a9151024bd..237f94b62d569c074035d7421bd7daff54241473 100644 |
--- a/remoting/host/desktop_environment.h |
+++ b/remoting/host/desktop_environment.h |
@@ -25,7 +25,14 @@ class HostEventStub; |
class DesktopEnvironment { |
public: |
- static scoped_ptr<DesktopEnvironment> Create(ChromotingHostContext* context); |
+ // Creates a DesktopEnvironment used in a host plugin. |
+ static scoped_ptr<DesktopEnvironment> Create( |
+ ChromotingHostContext* context); |
+ |
+ // Creates a DesktopEnvironment used in a service process. |
+ static scoped_ptr<DesktopEnvironment> CreateForService( |
+ ChromotingHostContext* context); |
+ |
static scoped_ptr<DesktopEnvironment> CreateFake( |
ChromotingHostContext* context, |
scoped_ptr<Capturer> capturer, |