Chromium Code Reviews| Index: remoting/host/desktop_environment.h |
| diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h |
| index d3058e0bce0ed1d84e994c4b76d039a9151024bd..06162b4611b050fdbe0d6b9f1425164268264550 100644 |
| --- a/remoting/host/desktop_environment.h |
| +++ b/remoting/host/desktop_environment.h |
| @@ -25,7 +25,12 @@ class HostEventStub; |
| class DesktopEnvironment { |
| public: |
| - static scoped_ptr<DesktopEnvironment> Create(ChromotingHostContext* context); |
| + static scoped_ptr<DesktopEnvironment> Create( |
|
alexeypa (please no reviews)
2012/03/21 23:39:12
Add a comment saying that this one creates Desktop
|
| + ChromotingHostContext* context); |
| + |
| + // Create a DesktopEnvironment used in a service process. |
|
alexeypa (please no reviews)
2012/03/21 23:39:12
nit: Creates ...
Alpha Left Google
2012/03/21 23:43:27
Done.
|
| + static scoped_ptr<DesktopEnvironment> CreateForService( |
| + ChromotingHostContext* context); |
| static scoped_ptr<DesktopEnvironment> CreateFake( |
|
alexeypa (please no reviews)
2012/03/21 23:39:12
nit: either add an empty line between CreateForSer
Alpha Left Google
2012/03/21 23:43:27
There should be an empty line before comments. Add
|
| ChromotingHostContext* context, |
| scoped_ptr<Capturer> capturer, |