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

Side by Side Diff: remoting/protocol/session_manager.h

Issue 9860045: Address remaining nits for r129104. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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/protocol/jingle_session_manager.cc ('k') | remoting/webapp/_locales/en/messages.json » ('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 // The purpose of SessionManager is to facilitate creation of chromotocol 5 // The purpose of SessionManager is to facilitate creation of chromotocol
6 // sessions. Both host and client use it to establish chromotocol 6 // sessions. Both host and client use it to establish chromotocol
7 // sessions. JingleChromotocolServer implements this inteface using 7 // sessions. JingleChromotocolServer implements this inteface using
8 // libjingle. 8 // libjingle.
9 // 9 //
10 // OUTGOING SESSIONS 10 // OUTGOING SESSIONS
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 enum IncomingSessionResponse { 112 enum IncomingSessionResponse {
113 // Accept the session. 113 // Accept the session.
114 ACCEPT, 114 ACCEPT,
115 115
116 // Reject the session due to incompatible session configuration. 116 // Reject the session due to incompatible session configuration.
117 INCOMPATIBLE, 117 INCOMPATIBLE,
118 118
119 // Reject the session because the host is currently disabled due 119 // Reject the session because the host is currently disabled due
120 // to previous login attempts. 120 // to previous login attempts.
121 DISABLED, 121 OVERLOAD,
122 122
123 // Reject the session because the client is not allowed to connect 123 // Reject the session because the client is not allowed to connect
124 // to the host. 124 // to the host.
125 DECLINE, 125 DECLINE,
126 }; 126 };
127 127
128 class Listener { 128 class Listener {
129 public: 129 public:
130 Listener() { } 130 Listener() { }
131 ~Listener() { } 131 ~Listener() { }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 scoped_ptr<AuthenticatorFactory> authenticator_factory) = 0; 181 scoped_ptr<AuthenticatorFactory> authenticator_factory) = 0;
182 182
183 private: 183 private:
184 DISALLOW_COPY_AND_ASSIGN(SessionManager); 184 DISALLOW_COPY_AND_ASSIGN(SessionManager);
185 }; 185 };
186 186
187 } // namespace protocol 187 } // namespace protocol
188 } // namespace remoting 188 } // namespace remoting
189 189
190 #endif // REMOTING_PROTOCOL_SESSION_MANAGER_H_ 190 #endif // REMOTING_PROTOCOL_SESSION_MANAGER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/jingle_session_manager.cc ('k') | remoting/webapp/_locales/en/messages.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698