| Index: google_apis/gcm/engine/connection_factory_impl.h
|
| diff --git a/google_apis/gcm/engine/connection_factory_impl.h b/google_apis/gcm/engine/connection_factory_impl.h
|
| index b28e8f622a4f85e3bbb62d75acaa8ce24502d757..d979208af3dc517c130cf16ee10e2921c908639f 100644
|
| --- a/google_apis/gcm/engine/connection_factory_impl.h
|
| +++ b/google_apis/gcm/engine/connection_factory_impl.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/time/time.h"
|
| +#include "google_apis/gcm/engine/connection_handler.h"
|
| #include "google_apis/gcm/protocol/mcs.pb.h"
|
| #include "net/base/backoff_entry.h"
|
| #include "net/base/network_change_notifier.h"
|
| @@ -174,6 +175,11 @@ class GCM_EXPORT ConnectionFactoryImpl :
|
| // restore a previous backoff entry and for measuring uptime.
|
| base::TimeTicks last_login_time_;
|
|
|
| + // Cached callbacks. Set at |Initialize| time, consumed at first |Connect|
|
| + // time.
|
| + ConnectionHandler::ProtoReceivedCallback read_callback_;
|
| + ConnectionHandler::ProtoSentCallback write_callback_;
|
| +
|
| // The current connection handler, if one exists.
|
| scoped_ptr<ConnectionHandler> connection_handler_;
|
|
|
|
|