chromium/chrome/browser/policy/messaging_layer/util/user_dm_token_retriever_unittest.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/policy/messaging_layer/util/user_dm_token_retriever.h"

#include <memory>
#include <string_view>

#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/test/task_environment.h"
#include "chrome/browser/policy/dm_token_utils.h"
#include "chrome/browser/profiles/profile.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/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"

namespace reporting {
namespace {

MockFunction;
Return;
StrEq;

constexpr char kDMToken[] =;
constexpr char kUserId[] =;

class UserDMTokenRetrieverTest : public ::testing::Test {};

TEST_F(UserDMTokenRetrieverTest, GetDMToken) {}

TEST_F(UserDMTokenRetrieverTest, GetDMTokenMultipleRequests) {}

TEST_F(UserDMTokenRetrieverTest, GetDMTokenInvalid) {}

}  // namespace
}  // namespace reporting