This source file includes following definitions.
- AddObserver
- RemoveObserver
- FireInvalidationAuthLogout
#include "chrome/browser/invalidation/invalidation_auth_provider.h"
namespace invalidation {
InvalidationAuthProvider::Observer::~Observer() {}
InvalidationAuthProvider::~InvalidationAuthProvider() {}
void InvalidationAuthProvider::AddObserver(Observer* observer) {
observers_.AddObserver(observer);
}
void InvalidationAuthProvider::RemoveObserver(Observer* observer) {
observers_.RemoveObserver(observer);
}
InvalidationAuthProvider::InvalidationAuthProvider() {}
void InvalidationAuthProvider::FireInvalidationAuthLogout() {
FOR_EACH_OBSERVER(Observer, observers_, OnInvalidationAuthLogout());
}
}