| Index: blimp/net/engine_authentication_handler.h
|
| diff --git a/blimp/net/engine_authentication_handler.h b/blimp/net/engine_authentication_handler.h
|
| index 89bbc500a7ffb38521e10fe8f4c8a61e8fd00e44..0e1d864f2cd9f2c89d6cc3b928457306192c3a2f 100644
|
| --- a/blimp/net/engine_authentication_handler.h
|
| +++ b/blimp/net/engine_authentication_handler.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef BLIMP_NET_ENGINE_AUTHENTICATION_HANDLER_H_
|
| #define BLIMP_NET_ENGINE_AUTHENTICATION_HANDLER_H_
|
|
|
| +#include <memory>
|
| +#include <string>
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| @@ -21,11 +23,11 @@ class BlimpMessage;
|
| // to |connection_handler|.
|
| class BLIMP_NET_EXPORT EngineAuthenticationHandler : public ConnectionHandler {
|
| public:
|
| - // |client_token|: used to authenticate incoming connection.
|
| + // |client_auth_token|: used to authenticate incoming connection.
|
| // |connection_handler|: a new connection is passed on to it after the
|
| // connection is authenticate this handler.
|
| EngineAuthenticationHandler(ConnectionHandler* connection_handler,
|
| - const std::string& client_token);
|
| + const std::string& client_auth_token);
|
|
|
| ~EngineAuthenticationHandler() override;
|
|
|
| @@ -38,7 +40,7 @@ class BLIMP_NET_EXPORT EngineAuthenticationHandler : public ConnectionHandler {
|
|
|
| // Used to authenticate incoming connection. Engine is assigned to one client
|
| // only, and all connections from that client shall carry the same token.
|
| - const std::string client_token_;
|
| + const std::string client_auth_token_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(EngineAuthenticationHandler);
|
| };
|
|
|