|
Remove BrowserThread dependency from usb_service.
Instead of explicitly depending on specific browser threads the USB
service can assume that it is instantiated on BrowserThread::FILE (or
equivalent) and save a TaskRunner reference from this instantiation for
later use when called from other threads.
To reach BrowserThread::UI (required for DBus on Chrome OS) a reference
to the appropriate TaskRunner must be provided when calling
UsbService::GetInstance().
BUG=
Committed: https://crrev.com/e471fab8c731cfc2eacceca8cc5be524c2d6f4b4
Cr-Commit-Position: refs/heads/master@{#292546}
Total comments: 1
Total comments: 5
Total comments: 6
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+385 lines, -149 lines) |
Patch |
 |
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/DEPS
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chrome_device_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chrome_device_client.cc
|
View
|
1
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/devtools/device/usb/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/devtools/device/usb/android_usb_device.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
|
4 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/usb_service/DEPS
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/usb_service/usb_device_handle_impl.h
|
View
|
|
5 chunks |
+19 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/usb_service/usb_device_handle_impl.cc
|
View
|
1
2
3
4
5
6
|
16 chunks |
+83 lines, -91 lines |
0 comments
|
Download
|
 |
M |
components/usb_service/usb_device_impl.h
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/usb_service/usb_device_impl.cc
|
View
|
1
|
4 chunks |
+19 lines, -14 lines |
0 comments
|
Download
|
 |
M |
components/usb_service/usb_service.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/usb_service/usb_service_impl.cc
|
View
|
|
7 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
A + |
device/core/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
device/core/core.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
A |
device/core/device_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/core/device_client.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/test/usb_test_gadget_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/api/usb/DEPS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/usb/usb_api.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/usb_private/DEPS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/usb_private/usb_private_api.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/app_shell.gyp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/DEPS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_browser_main_parts.h
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_browser_main_parts.cc
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/shell/browser/shell_device_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/shell/browser/shell_device_client.cc
|
View
|
1
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|