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

Unified Diff: remoting/host/chromoting_host.h

Issue 1458323002: Simplify It2Me host shutdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/chromoting_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 29474523217914d61f108b12d4fcb8a558d9d719..6479f5dd72152d0eb0a013fd6f935540489bdb2a 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -94,11 +94,6 @@ class ChromotingHost : public base::NonThreadSafe,
// Registers a host extension.
void AddExtension(scoped_ptr<HostExtension> extension);
- // This method may be called only from
- // HostStatusObserver::OnClientAuthenticated() to reject the new
- // client.
- void RejectAuthenticatingClient();
-
// Sets the authenticator factory to use for incoming
// connections. Incoming connections are rejected until
// authenticator factory is set. Must be called on the network
@@ -119,7 +114,7 @@ class ChromotingHost : public base::NonThreadSafe,
////////////////////////////////////////////////////////////////////////////
// ClientSession::EventHandler implementation.
void OnSessionAuthenticating(ClientSession* client) override;
- bool OnSessionAuthenticated(ClientSession* client) override;
+ void OnSessionAuthenticated(ClientSession* client) override;
void OnSessionChannelsConnected(ClientSession* client) override;
void OnSessionAuthenticationFailed(ClientSession* client) override;
void OnSessionClosed(ClientSession* session) override;
@@ -186,10 +181,6 @@ class ChromotingHost : public base::NonThreadSafe,
// Login backoff state.
net::BackoffEntry login_backoff_;
- // Flags used for RejectAuthenticatingClient().
- bool authenticating_client_;
- bool reject_authenticating_client_;
-
// True if the curtain mode is enabled.
bool enable_curtaining_;
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698