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

Unified Diff: remoting/host/desktop_environment.h

Issue 9829006: [chromoting] Fix crash when generating access code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 8 years, 9 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 | « no previous file | remoting/host/desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | remoting/host/desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698