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_NET_CONNECTION_HANDLER_H_ | |
6 #define BLIMP_NET_CONNECTION_HANDLER_H_ | |
7 | |
8 namespace blimp { | |
9 | |
10 class BlimpConnection; | |
11 | |
12 // Interface for objects that can take possesion of BlimpConnections. | |
13 class ConnectionHandler { | |
14 public: | |
15 virtual void HandleConnection(scoped_ptr<BlimpConnection> connection) = 0; | |
Wez
2015/11/12 00:12:54
This needs a trivial virtual destructor, since it
Kevin M
2015/11/12 01:53:16
Done.
| |
16 }; | |
17 | |
18 } // namespace blimp | |
19 | |
20 #endif // BLIMP_NET_CONNECTION_HANDLER_H_ | |
OLD | NEW |