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

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: Created 7 years, 8 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // factory before all authenticators it created are deleted. 107 // factory before all authenticators it created are deleted.
108 void SetAuthenticatorFactory( 108 void SetAuthenticatorFactory(
109 scoped_ptr<protocol::AuthenticatorFactory> authenticator_factory); 109 scoped_ptr<protocol::AuthenticatorFactory> authenticator_factory);
110 110
111 // Sets the maximum duration of any session. By default, a session has no 111 // Sets the maximum duration of any session. By default, a session has no
112 // maximum duration. 112 // maximum duration.
113 void SetMaximumSessionDuration(const base::TimeDelta& max_session_duration); 113 void SetMaximumSessionDuration(const base::TimeDelta& max_session_duration);
114 114
115 //////////////////////////////////////////////////////////////////////////// 115 ////////////////////////////////////////////////////////////////////////////
116 // ClientSession::EventHandler implementation. 116 // ClientSession::EventHandler implementation.
117 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; 117 virtual bool OnSessionAuthenticated(ClientSession* client) OVERRIDE;
118 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE; 118 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE;
119 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; 119 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE;
120 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; 120 virtual void OnSessionClosed(ClientSession* session) OVERRIDE;
121 virtual void OnSessionSequenceNumber(ClientSession* session, 121 virtual void OnSessionSequenceNumber(ClientSession* session,
122 int64 sequence_number) OVERRIDE; 122 int64 sequence_number) OVERRIDE;
123 virtual void OnSessionRouteChange( 123 virtual void OnSessionRouteChange(
124 ClientSession* session, 124 ClientSession* session,
125 const std::string& channel_name, 125 const std::string& channel_name,
126 const protocol::TransportRoute& route) OVERRIDE; 126 const protocol::TransportRoute& route) OVERRIDE;
127 127
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 base::TimeDelta max_session_duration_; 205 base::TimeDelta max_session_duration_;
206 206
207 base::WeakPtrFactory<ChromotingHost> weak_factory_; 207 base::WeakPtrFactory<ChromotingHost> weak_factory_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 209 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
210 }; 210 };
211 211
212 } // namespace remoting 212 } // namespace remoting
213 213
214 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 214 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698