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

Side by Side Diff: remoting/host/chromoting_host.h

Issue 14520018: Create the desktop environment before any of the channel were connected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/audio_scheduler.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_ 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_
6 #define REMOTING_HOST_CHROMOTING_HOST_H_ 6 #define REMOTING_HOST_CHROMOTING_HOST_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // factory before all authenticators it created are deleted. 104 // factory before all authenticators it created are deleted.
105 void SetAuthenticatorFactory( 105 void SetAuthenticatorFactory(
106 scoped_ptr<protocol::AuthenticatorFactory> authenticator_factory); 106 scoped_ptr<protocol::AuthenticatorFactory> authenticator_factory);
107 107
108 // Sets the maximum duration of any session. By default, a session has no 108 // Sets the maximum duration of any session. By default, a session has no
109 // maximum duration. 109 // maximum duration.
110 void SetMaximumSessionDuration(const base::TimeDelta& max_session_duration); 110 void SetMaximumSessionDuration(const base::TimeDelta& max_session_duration);
111 111
112 //////////////////////////////////////////////////////////////////////////// 112 ////////////////////////////////////////////////////////////////////////////
113 // ClientSession::EventHandler implementation. 113 // ClientSession::EventHandler implementation.
114 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; 114 virtual bool OnSessionAuthenticated(ClientSession* client) OVERRIDE;
115 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE; 115 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE;
116 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; 116 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE;
117 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; 117 virtual void OnSessionClosed(ClientSession* session) OVERRIDE;
118 virtual void OnSessionSequenceNumber(ClientSession* session, 118 virtual void OnSessionSequenceNumber(ClientSession* session,
119 int64 sequence_number) OVERRIDE; 119 int64 sequence_number) OVERRIDE;
120 virtual void OnSessionRouteChange( 120 virtual void OnSessionRouteChange(
121 ClientSession* session, 121 ClientSession* session,
122 const std::string& channel_name, 122 const std::string& channel_name,
123 const protocol::TransportRoute& route) OVERRIDE; 123 const protocol::TransportRoute& route) OVERRIDE;
124 124
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 base::TimeDelta max_session_duration_; 184 base::TimeDelta max_session_duration_;
185 185
186 base::WeakPtrFactory<ChromotingHost> weak_factory_; 186 base::WeakPtrFactory<ChromotingHost> weak_factory_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 188 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
189 }; 189 };
190 190
191 } // namespace remoting 191 } // namespace remoting
192 192
193 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 193 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « remoting/host/audio_scheduler.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698