Index: components/gcm_driver/default_gcm_app_handler.cc |
diff --git a/components/gcm_driver/default_gcm_app_handler.cc b/components/gcm_driver/default_gcm_app_handler.cc |
index 80aee2f87ec89847ae31e743fbcd6ac68ed44d2d..2e745a031c8fac5d4a7699181be01d22eec47c93 100644 |
--- a/components/gcm_driver/default_gcm_app_handler.cc |
+++ b/components/gcm_driver/default_gcm_app_handler.cc |
@@ -5,6 +5,7 @@ |
#include "components/gcm_driver/default_gcm_app_handler.h" |
#include "base/logging.h" |
+#include "net/base/ip_endpoint.h" |
namespace gcm { |
@@ -36,4 +37,14 @@ void DefaultGCMAppHandler::OnSendError( |
<< app_id; |
} |
+void DefaultGCMAppHandler::OnConnected(const net::IPEndPoint& ip_endpoint) { |
+ // TODO(semenzato): update CrOS NIC state. |
+ DVLOG(1) << "GCM connected to " << ip_endpoint.ToString(); |
+} |
+ |
+void DefaultGCMAppHandler::OnDisconnected() { |
+ // TODO(semenzato): update CrOS NIC state. |
+ DVLOG(1) << "GCM disconnected"; |
+} |
+ |
} // namespace gcm |