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