#include "chrome/browser/policy/cloud/user_fm_registration_token_uploader.h"
#include <memory>
#include <variant>
#include "base/functional/overloaded.h"
#include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
#include "chrome/browser/policy/cloud/fm_registration_token_uploader.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 {
UserFmRegistrationTokenUploader::UserFmRegistrationTokenUploader(
Profile* profile,
CloudPolicyManager* policy_manager)
: … { … }
UserFmRegistrationTokenUploader::~UserFmRegistrationTokenUploader() = default;
void UserFmRegistrationTokenUploader::Shutdown() { … }
void UserFmRegistrationTokenUploader::OnProfileInitializationComplete(
Profile* profile) { … }
}