#include "components/gcm_driver/account_tracker.h"
#include "base/containers/contains.h"
#include "base/logging.h"
#include "base/observer_list.h"
#include "base/trace_event/trace_event.h"
#include "components/signin/public/identity_manager/access_token_info.h"
namespace gcm {
AccountTracker::AccountTracker(signin::IdentityManager* identity_manager)
: … { … }
AccountTracker::~AccountTracker() { … }
void AccountTracker::Shutdown() { … }
void AccountTracker::AddObserver(Observer* observer) { … }
void AccountTracker::RemoveObserver(Observer* observer) { … }
std::vector<CoreAccountInfo> AccountTracker::GetAccounts() const { … }
void AccountTracker::OnRefreshTokenUpdatedForAccount(
const CoreAccountInfo& account_info) { … }
void AccountTracker::OnRefreshTokenRemovedForAccount(
const CoreAccountId& account_id) { … }
void AccountTracker::OnPrimaryAccountChanged(
const signin::PrimaryAccountChangeEvent& event) { … }
void AccountTracker::UpdateSignInState(const CoreAccountId& account_id,
bool is_signed_in) { … }
void AccountTracker::StartTrackingAccount(const CoreAccountInfo& account) { … }
void AccountTracker::StopTrackingAccount(const CoreAccountId account_id) { … }
void AccountTracker::StopTrackingAllAccounts() { … }
}