|
Use udev for serial device enumeration on Linux
Device enumeration code has been lifted from
src/chrome/browser/extensions/api/serial and moved into src/device/serial.
The enumeration impl for Linux now uses udev to enumerate devices matching the
"tty" subsystem, rather than matching /dev node name patterns.
The Windows implementation remains effectively unchanged, and the Mac
implementation has had its /dev pattern filter relaxed to catch devices of the
more generic forms "/dev/tty.*" and "/dev/cu.*".
BUG= 334698
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251218
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+467 lines, -302 lines) |
Patch |
 |
A + |
chrome/browser/extensions/api/serial/DEPS
|
View
|
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/serial/serial_api.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/serial/serial_api.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+20 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/serial/serial_apitest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/serial/serial_connection.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/serial/serial_connection.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+12 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/serial/serial_connection_posix.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/serial/serial_connection_win.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/serial/serial_port_enumerator.h
|
View
|
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/serial/serial_port_enumerator.cc
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/serial/serial_port_enumerator_posix.cc
|
View
|
|
1 chunk |
+0 lines, -97 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/serial/serial_port_enumerator_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -69 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/serial/serial_port_enumerator_win.cc
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/serial.idl
|
View
|
1
2
3
4
5
6
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial.gyp
|
View
|
1
2
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial_device_enumerator.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial_device_enumerator.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial_device_enumerator_linux.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial_device_enumerator_linux.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+105 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial_device_enumerator_mac.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial_device_enumerator_mac.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial_device_enumerator_win.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial_device_enumerator_win.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/serial/serial_device_info.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
device/serial/serial_device_info.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
Total messages: 26 (0 generated)
|