summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host.h
diff options
context:
space:
mode:
authorcreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-16 19:02:18 +0000
committercreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-16 19:02:18 +0000
commit00f93a6e497bf687e9c28030bd65e142401ee0aa (patch)
tree53aabfb3bed4b7ee1d42107c7737446524a61f7f /remoting/host/chromoting_host.h
parente2341182c3230772e3438c2888d02af60ad4ffc3 (diff)
downloadchromium_src-00f93a6e497bf687e9c28030bd65e142401ee0aa.zip
chromium_src-00f93a6e497bf687e9c28030bd65e142401ee0aa.tar.gz
chromium_src-00f93a6e497bf687e9c28030bd65e142401ee0aa.tar.bz2
Revert 89370 - Notify calling web-app when Host plugin becomes connected to a client.
BUG=85110 TEST= Review URL: http://codereview.chromium.org/7134023 TBR=wez@chromium.org Review URL: http://codereview.chromium.org/7189017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89375 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host.h')
-rw-r--r--remoting/host/chromoting_host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 5f146b2..c05b06d 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -123,6 +123,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
// |config| is transferred to the object. Must be called before Start().
void set_protocol_config(protocol::CandidateSessionConfig* config);
+ // TODO(wez): ChromotingHost shouldn't need to know about Me2Mom.
void set_me2mom(bool is_me2mom) {
is_me2mom_ = is_me2mom;
}
@@ -163,7 +164,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
std::string GenerateHostAuthToken(const std::string& encoded_client_token);
- int AuthenticatedClientsCount() const;
+ bool HasAuthenticatedClients() const;
void EnableCurtainMode(bool enable);