#include "base/memory/raw_ptr.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/enterprise/browser_management/management_service_factory.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/policy/core/common/management/management_service.h"
#include "components/prefs/pref_registry.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
#include "content/public/test/browser_test.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
constexpr char kPrefName[] = …;
class TestPlatformManagementStatusProvider
: public policy::ManagementStatusProvider { … };
}
class ManagementServiceBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ManagementServiceBrowserTest,
PRE_PlatformManagementServiceCache) { … }
IN_PROC_BROWSER_TEST_F(ManagementServiceBrowserTest,
PlatformManagementServiceCache) { … }