summaryrefslogtreecommitdiffstats
path: root/remoting/host/desktop_environment.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-23 22:25:37 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-23 22:25:37 +0000
commit14a14271c12077e3f733f3cc60bc859eba359aff (patch)
treec724b5327317f2c4316826f9220e4539a6e788f2 /remoting/host/desktop_environment.h
parenta5bae328145e88cd83ddc7eb96c22c80024d33d3 (diff)
downloadchromium_src-14a14271c12077e3f733f3cc60bc859eba359aff.zip
chromium_src-14a14271c12077e3f733f3cc60bc859eba359aff.tar.gz
chromium_src-14a14271c12077e3f733f3cc60bc859eba359aff.tar.bz2
Remove host reference from DesktopEnvironment.
DesktopEnvironment no longer needs access to the host, so remove host_ member from that class. Review URL: https://chromiumcodereview.appspot.com/10407101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/desktop_environment.h')
-rw-r--r--remoting/host/desktop_environment.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
index e27e33a..f49fcdc 100644
--- a/remoting/host/desktop_environment.h
+++ b/remoting/host/desktop_environment.h
@@ -17,7 +17,6 @@
namespace remoting {
class Capturer;
-class ChromotingHost;
class ChromotingHostContext;
namespace protocol {
@@ -41,8 +40,6 @@ class DesktopEnvironment {
virtual ~DesktopEnvironment();
- void set_host(ChromotingHost* host) { host_ = host; }
-
Capturer* capturer() const { return capturer_.get(); }
EventExecutor* event_executor() const { return event_executor_.get(); }
void OnSessionStarted();
@@ -53,9 +50,6 @@ class DesktopEnvironment {
scoped_ptr<Capturer> capturer,
scoped_ptr<EventExecutor> event_executor);
- // The host that owns this DesktopEnvironment.
- ChromotingHost* host_;
-
// Host context used to make sure operations are run on the correct thread.
// This is owned by the ChromotingHost.
ChromotingHostContext* context_;