Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / usb / usb_manual_apitest.cc
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/extensions/api/permissions/permissions_api.h"
6 #include "chrome/browser/extensions/extension_apitest.h"
7
8 namespace {
9
10 class UsbManualApiTest : public ExtensionApiTest {
11 };
12
13 }  // namespace
14
15 IN_PROC_BROWSER_TEST_F(UsbManualApiTest, MANUAL_ListInterfaces) {
16   extensions::PermissionsRequestFunction::SetIgnoreUserGestureForTests(true);
17   extensions::PermissionsRequestFunction::SetAutoConfirmForTests(true);
18   ASSERT_TRUE(RunExtensionTest("usb_manual/list_interfaces"));
19 }