#include "chrome/browser/extensions/api/enterprise_hardware_platform/enterprise_hardware_platform_api.h"
#include <memory>
#include <string>
#include <utility>
#include "chrome/browser/extensions/extension_service_test_with_install.h"
#include "chrome/common/pref_names.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "extensions/browser/api_test_utils.h"
#include "extensions/common/extension_builder.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
class EnterpriseHardwarePlatformAPITest
: public ExtensionServiceTestWithInstall { … };
TEST_F(EnterpriseHardwarePlatformAPITest, GetHardwarePlatformInfoAllowed) { … }
TEST_F(EnterpriseHardwarePlatformAPITest,
GetHardwarePlatformInfoNotAllowedExplicit) { … }
TEST_F(EnterpriseHardwarePlatformAPITest,
GetHardwarePlatformInfoNotAllowedImplicit) { … }
}