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

Unified Diff: device/hid/hid_service_unittest.cc

Issue 419713002: Support permission_broker for chrome.hid devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NOTIMPLEMENTED to default GetHidService implementation. Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: device/hid/hid_service_unittest.cc
diff --git a/device/hid/hid_service_unittest.cc b/device/hid/hid_service_unittest.cc
index 0b5043bd8644b6ce58ec839dd535ec0c8c923dcd..50c340a7956d9cccf60d1fbbf538f4c75b9751e1 100644
--- a/device/hid/hid_service_unittest.cc
+++ b/device/hid/hid_service_unittest.cc
@@ -12,7 +12,7 @@ namespace device {
TEST(HidServiceTest, Create) {
base::MessageLoopForIO message_loop;
- HidService* service = HidService::GetInstance();
+ HidService* service = HidService::Create();
ASSERT_TRUE(service);
std::vector<HidDeviceInfo> devices;

Powered by Google App Engine
This is Rietveld 408576698