#include "chrome/browser/private_network_access/private_network_device_permission_context.h"
#include <string_view>
#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/private_network_access/private_network_device_permission_context_factory.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "net/base/ip_address.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
Optional;
namespace network {
namespace {
Validity;
Type;
constexpr std::string_view kPrivateNetworkDeviceValidityHistogramName = …;
constexpr std::string_view kUserAcceptedPrivateNetworkDeviceHistogramName = …;
class PrivateNetworkDevicePermissionContextTest : public testing::Test { … };
TEST_F(PrivateNetworkDevicePermissionContextTest, CheckGrantDevicePermission) { … }
TEST_F(PrivateNetworkDevicePermissionContextTest, CheckHasDevicePermission) { … }
}
}