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

Unified Diff: extensions/browser/api/usb/usb_device_resource.h

Issue 980023002: Move device/usb classes from the FILE thread to UI thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more thread assertions. Created 5 years, 8 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
« no previous file with comments | « extensions/browser/api/usb/usb_apitest.cc ('k') | extensions/browser/api/usb/usb_event_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/usb/usb_device_resource.h
diff --git a/extensions/browser/api/usb/usb_device_resource.h b/extensions/browser/api/usb/usb_device_resource.h
index a0de7f356b8e28b9d48c41b13091a9f6cb75da5b..d44675fe8db41ee68fba28e2b9ece2959ef5f6cf 100644
--- a/extensions/browser/api/usb/usb_device_resource.h
+++ b/extensions/browser/api/usb/usb_device_resource.h
@@ -25,7 +25,7 @@ namespace extensions {
class UsbDeviceResource : public ApiResource {
public:
static const content::BrowserThread::ID kThreadId =
- content::BrowserThread::FILE;
+ content::BrowserThread::UI;
UsbDeviceResource(const std::string& owner_extension_id,
scoped_refptr<device::UsbDeviceHandle> device);
« no previous file with comments | « extensions/browser/api/usb/usb_apitest.cc ('k') | extensions/browser/api/usb/usb_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698