OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_MANAGER_DELEGATE_H_ | |
6 #define BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_MANAGER_DELEGATE_H_ | |
7 | |
8 #include "blimp/engine/browser/blimp_client_session.h" | |
9 | |
10 namespace blimp { | |
11 namespace engine { | |
12 | |
13 class BlimpClientSessionManagerDelegate { | |
14 public: | |
15 virtual ~BlimpClientSessionManagerDelegate() {} | |
16 | |
17 // Attaches a new client session to the engine. There must not be an | |
18 // existing attached client session. | |
19 // Caller owns |client_session|. | |
20 virtual void AttachClientSession(BlimpClientSession* client_session) = 0; | |
Kevin M
2015/10/14 17:52:57
I recommend rephrasing these to "ClientSessionCrea
haibinlu
2015/10/15 01:59:28
per offline discussion, rename this class to 'hand
| |
21 | |
22 // Detaches an existing client session from the engine. | |
23 virtual void DetachClientSession(BlimpClientSession* client_session) = 0; | |
24 }; | |
25 | |
26 } // namespace engine | |
27 } // namespace blimp | |
28 | |
29 #endif // BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_MANAGER_DELEGATE_H_ | |
OLD | NEW |