| Index: google_apis/gcm/engine/mcs_client.cc
|
| diff --git a/google_apis/gcm/engine/mcs_client.cc b/google_apis/gcm/engine/mcs_client.cc
|
| index 9985611fb7edb666a69ea8b85d9e461147dda30a..43557ae0ea4e83ab52a7f03bdf65875b777299c8 100644
|
| --- a/google_apis/gcm/engine/mcs_client.cc
|
| +++ b/google_apis/gcm/engine/mcs_client.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/metrics/histogram.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/time/clock.h"
|
| #include "base/time/time.h"
|
| @@ -345,6 +346,7 @@ void MCSClient::SendHeartbeat() {
|
|
|
| void MCSClient::OnGCMUpdateFinished(bool success) {
|
| LOG_IF(ERROR, !success) << "GCM Update failed!";
|
| + UMA_HISTOGRAM_BOOLEAN("GCM.StoreUpdateSucceeded", success);
|
| // TODO(zea): Rebuild the store from scratch in case of persistence failure?
|
| }
|
|
|
|
|