#include "chrome/browser/policy/cloud/user_cloud_policy_invalidator.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/default_clock.h"
#include "build/build_config.h"
#include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/invalidation/invalidation_listener.h"
#include "components/invalidation/profile_invalidation_provider.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "components/policy/core/common/cloud/cloud_policy_manager.h"
namespace {
invalidation::ProfileInvalidationProvider* GetInvalidationProvider(
Profile* profile) { … }
}
namespace policy {
UserCloudPolicyInvalidator::UserCloudPolicyInvalidator(
Profile* profile,
CloudPolicyManager* policy_manager)
: … { … }
UserCloudPolicyInvalidator::~UserCloudPolicyInvalidator() = default;
void UserCloudPolicyInvalidator::Shutdown() { … }
void UserCloudPolicyInvalidator::OnProfileInitializationComplete(
Profile* profile) { … }
}