1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/extensions/api/permissions/permissions_api.h"
6 #include "chrome/browser/extensions/extension_apitest.h"
10 class UsbManualApiTest
: public ExtensionApiTest
{};
14 IN_PROC_BROWSER_TEST_F(UsbManualApiTest
, MANUAL_ListInterfaces
) {
15 extensions::PermissionsRequestFunction::SetIgnoreUserGestureForTests(true);
16 extensions::PermissionsRequestFunction::SetAutoConfirmForTests(true);
17 ASSERT_TRUE(RunExtensionTest("usb_manual/list_interfaces"));