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

Unified Diff: extensions/browser/api/hid/hid_connection_resource.h

Issue 771393002: Migrate HidServiceLinux and HidConnectionLinux to BrowserThread::UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switched to an embedded thread checker. Created 6 years 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/hid/hid_apitest.cc ('k') | extensions/browser/api/hid/hid_device_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/hid/hid_connection_resource.h
diff --git a/extensions/browser/api/hid/hid_connection_resource.h b/extensions/browser/api/hid/hid_connection_resource.h
index d2248c4f1d63f59e0163155789038eb3779312b3..b3d8b66397741209526ece1773330b6fe3c1d251 100644
--- a/extensions/browser/api/hid/hid_connection_resource.h
+++ b/extensions/browser/api/hid/hid_connection_resource.h
@@ -21,14 +21,13 @@ namespace extensions {
class HidConnectionResource : public ApiResource {
public:
-#if defined(OS_MACOSX)
- // Migration from FILE thread to UI thread. OS X gets it first.
+#if defined(OS_WIN)
+ // TODO(reillyg): Migrate Windows backend from FILE thread to UI thread.
static const content::BrowserThread::ID kThreadId =
- content::BrowserThread::UI;
+ content::BrowserThread::FILE;
#else
- // TODO(reillyg): Migrate Linux/CrOS and Windows as well.
static const content::BrowserThread::ID kThreadId =
- content::BrowserThread::FILE;
+ content::BrowserThread::UI;
#endif
HidConnectionResource(const std::string& owner_extension_id,
« no previous file with comments | « extensions/browser/api/hid/hid_apitest.cc ('k') | extensions/browser/api/hid/hid_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698