| Index: extensions/browser/api/hid/hid_api.cc
|
| diff --git a/extensions/browser/api/hid/hid_api.cc b/extensions/browser/api/hid/hid_api.cc
|
| index fcb8abf55951b422d4c913c158ec37cca5210fdf..27d495dadfed4133859b71d8174fb6f486c29314 100644
|
| --- a/extensions/browser/api/hid/hid_api.cc
|
| +++ b/extensions/browser/api/hid/hid_api.cc
|
| @@ -64,12 +64,11 @@ HidAsyncApiFunction::HidAsyncApiFunction()
|
| HidAsyncApiFunction::~HidAsyncApiFunction() {}
|
|
|
| bool HidAsyncApiFunction::PrePrepare() {
|
| -#if defined(OS_MACOSX)
|
| - // Migration from FILE thread to UI thread. OS X gets it first.
|
| - set_work_thread_id(content::BrowserThread::UI);
|
| -#else
|
| - // TODO(reillyg): Migrate Linux/CrOS and Windows as well.
|
| +#if defined(OS_WIN)
|
| + // TODO(reillyg): Migrate Windows backend from FILE thread to UI thread.
|
| set_work_thread_id(content::BrowserThread::FILE);
|
| +#else
|
| + set_work_thread_id(content::BrowserThread::UI);
|
| #endif
|
| device_manager_ = HidDeviceManager::Get(browser_context());
|
| if (!device_manager_) {
|
|
|