#include "components/enterprise/browser/reporting/cloud_reporting_policy_handler.h"
#include "build/build_config.h"
#include "components/enterprise/browser/controller/fake_browser_dm_token_storage.h"
#include "components/enterprise/browser/reporting/common_pref_names.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace enterprise_reporting {
namespace {
constexpr char kFakeEnrollmentToken[] = …;
constexpr char kFakeBrowserClientId[] = …;
constexpr char kFakeBrowserDMToken[] = …;
class CloudReportingPolicyHandlerTest
: public testing::Test,
public testing::WithParamInterface<bool> { … };
}
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(CloudReportingPolicyHandlerTest, MachineEnrollment) { … }
}