|
Remove DeviceMonitorLinux::WillDestroyCurrentMessageLoop().
The FILE thread will soon be migrated to TaskScheduler which doesn't
support MessageLoop destruction observers.
DeviceMonitorLinux::WillDestroyCurrentMessageLoop() notified 3 observers
that the DeviceMonitorLinux MessageLoop was being destroyed. Each
observer used this notification to destroy itself.
- InputServiceLinuxImpl: This is now a leaky LazyInstance which is
never destroyed.
- HidServiceLinux::FileThreadHelper: This is now destroyed by posting
a delete task to the FILE thread when HidServiceLinux::Shutdown is
called. HidServiceLinux::Shutdown is called from
BrowserProcessImpl::StartTearDown() which is called before the
FILE thread is teared down.
- UsbServiceLinux::FileThreadHelper: Same pattern as
HidServiceLinux::FileThreadHelper.
BUG= 650723
Committed: https://crrev.com/3b9a7a6338f1c5f393d2201f16839eb072d3c277
Cr-Commit-Position: refs/heads/master@{#431564}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+220 lines, -113 lines) |
Patch |
 |
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_device_client.h
|
View
|
1
2
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_device_client.cc
|
View
|
1
2
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/device/input_service_test_helper.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/hid_detection_browsertest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
device/base/device_monitor_linux.h
|
View
|
|
4 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
device/base/device_monitor_linux.cc
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
device/hid/hid_service.h
|
View
|
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
device/hid/hid_service.cc
|
View
|
1
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/hid/hid_service_linux.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
device/hid/hid_service_linux.cc
|
View
|
|
4 chunks |
+24 lines, -22 lines |
0 comments
|
Download
|
 |
M |
device/hid/input_service_linux.h
|
View
|
1
|
2 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
device/hid/input_service_linux.cc
|
View
|
|
6 chunks |
+12 lines, -15 lines |
0 comments
|
Download
|
 |
M |
device/hid/mock_hid_service.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
device/test/test_device_client.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/test/test_device_client.cc
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
device/usb/mock_usb_service.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_service.h
|
View
|
1
5
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_service.cc
|
View
|
1
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_service_linux.h
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_service_linux.cc
|
View
|
1
|
4 chunks |
+31 lines, -26 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_browser_main_parts.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_device_client.h
|
View
|
1
2
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_device_client.cc
|
View
|
1
2
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
Total messages: 35 (24 generated)
|