#include "chrome/browser/policy/messaging_layer/util/dm_token_retriever_provider.h"
#include <memory>
#include "base/test/task_environment.h"
#include "chrome/browser/policy/dm_token_utils.h"
#include "chrome/browser/policy/messaging_layer/util/user_dm_token_retriever.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "components/policy/core/common/cloud/dm_token.h"
#include "components/reporting/util/status_macros.h"
#include "components/reporting/util/statusor.h"
#include "components/reporting/util/test_support_callbacks.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
IsEmpty;
Ne;
StrEq;
namespace reporting {
namespace {
constexpr char kDMToken[] = …;
constexpr char kUserId[] = …;
class DMTokenRetrieverProviderTest : public ::testing::Test { … };
TEST_F(DMTokenRetrieverProviderTest,
ReturnsEmptyDMTokenRetrieverForNonUserEvents) { … }
TEST_F(DMTokenRetrieverProviderTest, ReturnsUserDMTokenRetrieverForUserEvents) { … }
TEST_F(DMTokenRetrieverProviderTest,
ReturnsUniqueEmptyDMTokenRetrieversWhenMultipleCalls) { … }
TEST_F(DMTokenRetrieverProviderTest,
ReturnsUniqueUserDMTokenRetrieversWhenMultipleCalls) { … }
}
}