#include "chrome/browser/sync/test/integration/invalidations/fake_server_sync_invalidation_sender.h"
#include <vector>
#include "base/logging.h"
#include "base/time/time.h"
#include "components/gcm_driver/instance_id/fake_gcm_driver_for_instance_id.h"
#include "components/sync/base/time.h"
namespace fake_server {
FakeServerSyncInvalidationSender::FakeServerSyncInvalidationSender(
FakeServer* fake_server)
: … { … }
FakeServerSyncInvalidationSender::~FakeServerSyncInvalidationSender() { … }
void FakeServerSyncInvalidationSender::AddFakeGCMDriver(
instance_id::FakeGCMDriverForInstanceID* fake_gcm_driver) { … }
void FakeServerSyncInvalidationSender::RemoveFakeGCMDriver(
instance_id::FakeGCMDriverForInstanceID* fake_gcm_driver) { … }
void FakeServerSyncInvalidationSender::OnWillCommit() { … }
void FakeServerSyncInvalidationSender::OnCommit(
syncer::DataTypeSet committed_data_types) { … }
void FakeServerSyncInvalidationSender::OnConnected(
const net::IPEndPoint& ip_endpoint) { … }
void FakeServerSyncInvalidationSender::DeliverInvalidationsToHandlers() { … }
instance_id::FakeGCMDriverForInstanceID*
FakeServerSyncInvalidationSender::GetFakeGCMDriverByToken(
const std::string& fcm_registration_token) const { … }
void FakeServerSyncInvalidationSender::UpdateTokenToInterestedDataTypesMap() { … }
}