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

Side by Side Diff: blimp/net/connection_handler.h

Issue 1492643003: [Blimp Net] Add EngineAuthHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Wez's comments Created 5 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 BLIMP_NET_CONNECTION_HANDLER_H_ 5 #ifndef BLIMP_NET_CONNECTION_HANDLER_H_
6 #define BLIMP_NET_CONNECTION_HANDLER_H_ 6 #define BLIMP_NET_CONNECTION_HANDLER_H_
7 7
8 namespace blimp { 8 namespace blimp {
9 9
10 class BlimpConnection; 10 class BlimpConnection;
11 11
12 // Interface for objects that can take possession of BlimpConnections. 12 // Interface for objects that can take possession of BlimpConnections.
13 class ConnectionHandler { 13 class ConnectionHandler {
14 public: 14 public:
15 virtual ~ConnectionHandler() {} 15 virtual ~ConnectionHandler() {}
16 16
17 // The receiving object is responsible for synchronously attaching its
Kevin M 2015/12/04 19:12:05 Remove this comment
haibinlu 2015/12/07 21:54:50 Done.
18 // necessary delegates and observers to |connection| during the call to
19 // HandleConnection.
17 virtual void HandleConnection(scoped_ptr<BlimpConnection> connection) = 0; 20 virtual void HandleConnection(scoped_ptr<BlimpConnection> connection) = 0;
18 }; 21 };
19 22
20 } // namespace blimp 23 } // namespace blimp
21 24
22 #endif // BLIMP_NET_CONNECTION_HANDLER_H_ 25 #endif // BLIMP_NET_CONNECTION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698