Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Side by Side Diff: extensions/browser/api/usb/usb_manual_apitest.cc

Issue 268713013: Move chrome.usb to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW
« no previous file with comments | « extensions/browser/api/usb/usb_device_resource.cc ('k') | extensions/common/api/_api_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698