#include "google_apis/gcm/engine/connection_event_tracker.h"
#include "base/metrics/histogram_macros.h"
#include "base/time/time.h"
#include "net/base/network_change_notifier.h"
namespace {
constexpr size_t kMaxClientEvents = …;
}
namespace gcm {
ConnectionEventTracker::ConnectionEventTracker() = default;
ConnectionEventTracker::~ConnectionEventTracker() = default;
bool ConnectionEventTracker::IsEventInProgress() const { … }
void ConnectionEventTracker::StartConnectionAttempt() { … }
void ConnectionEventTracker::EndConnectionAttempt() { … }
void ConnectionEventTracker::ConnectionAttemptSucceeded() { … }
void ConnectionEventTracker::ConnectionLoginFailed() { … }
void ConnectionEventTracker::ConnectionAttemptFailed(int error) { … }
void ConnectionEventTracker::WriteToLoginRequest(
mcs_proto::LoginRequest* request) { … }
}