#include <string>
#include <utility>
#include "base/command_line.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/stringprintf.h"
#include "content/browser/hid/hid_test_utils.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/hid_chooser.h"
#include "content/public/browser/hid_delegate.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_content_browser_client.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/fenced_frame_test_util.h"
#include "content/shell/browser/shell.h"
#include "services/device/public/cpp/test/fake_hid_manager.h"
#include "services/device/public/mojom/hid.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/hid/hid.mojom.h"
ByMove;
Exactly;
Return;
namespace content {
namespace {
device::mojom::HidDeviceInfoPtr CreateTestDeviceWithInputAndOutputReports() { … }
class HidBrowserTestContentBrowserClient
: public ContentBrowserTestContentBrowserClient { … };
class HidTest : public ContentBrowserTest { … };
}
IN_PROC_BROWSER_TEST_F(HidTest, GetDevices) { … }
IN_PROC_BROWSER_TEST_F(HidTest, RequestDevice) { … }
IN_PROC_BROWSER_TEST_F(HidTest, DisallowRequestDevice) { … }
IN_PROC_BROWSER_TEST_F(HidTest, ProtectedReportsAreFiltered) { … }
IN_PROC_BROWSER_TEST_F(HidTest, DeviceWithAllProtectedReportsIsExcluded) { … }
class HidFencedFramesBrowserTest : public HidTest { … };
IN_PROC_BROWSER_TEST_F(HidFencedFramesBrowserTest, BlockFromFencedFrame) { … }
}