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

Unified Diff: device/test/usb_test_gadget_impl.cc

Issue 507503002: Remove BrowserThread dependency from usb_service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comments describing the new DeviceClient classes. Created 6 years, 4 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/test/usb_test_gadget_impl.cc
diff --git a/device/test/usb_test_gadget_impl.cc b/device/test/usb_test_gadget_impl.cc
index 59a5faa686dfcad13929d1c499aa50304c945947..e95188b9789b134b8b5188176ec6b20959e98233 100644
--- a/device/test/usb_test_gadget_impl.cc
+++ b/device/test/usb_test_gadget_impl.cc
@@ -155,7 +155,7 @@ UsbTestGadgetImpl::UsbTestGadgetImpl() {
session_id_ = base::StringPrintf(
"%s:%p", base::HexEncode(&process_id, sizeof(process_id)).c_str(), this);
- usb_service_ = UsbService::GetInstance();
+ usb_service_ = UsbService::GetInstance(NULL);
}
UsbTestGadgetImpl::~UsbTestGadgetImpl() {

Powered by Google App Engine
This is Rietveld 408576698