#include "components/enterprise/browser/identifiers/profile_id_service.h"
#include <utility>
#include "base/base64url.h"
#include "base/hash/sha1.h"
#include "base/memory/raw_ptr.h"
#include "base/test/metrics/histogram_tester.h"
#include "components/enterprise/browser/identifiers/identifiers_prefs.h"
#include "components/enterprise/browser/identifiers/mock_profile_id_delegate.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
Return;
namespace enterprise {
namespace {
constexpr char kFakeProfileGUID[] = …;
constexpr char kFakeDeviceId[] = …;
constexpr char kProfildeIdErrorHistogramName[] = …;
constexpr char kProfildeIdStatusHistogramName[] = …;
}
MockProfileIdDelegate;
class ProfileIdServiceTest : public testing::Test { … };
TEST_F(ProfileIdServiceTest, GetProfileId_Failure_NoProfileGuid) { … }
TEST_F(ProfileIdServiceTest, GetProfileId_Failure_NoDeviceId) { … }
TEST_F(ProfileIdServiceTest, GetProfileId_Success) { … }
}