|
Support permission_broker for chrome.hid devices.
This enables the Chrome to query permission_broker for access
to hidraw device paths when running on Chrome OS.
HidService has been refactored so that it is owned by the
extensions API embedder, rather than being a singleton.
Because hid has just moved to //extensions as well, this also establishes a new ShellExtensionsAPIClient to create a HidService for app_shell.
BUG= 367145
TEST=manual test on ChromeOS dev build
TBR=derat@chromium.org for mechanical app_shell changes
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285774
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+222 lines, -102 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/chrome_extensions_api_client.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/chrome_extensions_api_client.cc
|
View
|
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/_api_features.json
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/_permission_features.json
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/permissions/chrome_api_permissions.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/hid/DEPS
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
device/hid/hid_connection_linux.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
device/hid/hid_connection_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
device/hid/hid_service.h
|
View
|
|
3 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
 |
M |
device/hid/hid_service.cc
|
View
|
|
3 chunks |
+15 lines, -35 lines |
0 comments
|
Download
|
 |
M |
device/hid/hid_service_linux.h
|
View
|
1
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
device/hid/hid_service_linux.cc
|
View
|
1
|
5 chunks |
+62 lines, -22 lines |
0 comments
|
Download
|
 |
M |
device/hid/hid_service_mac.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
device/hid/hid_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/api/extensions_api_client.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/extensions_api_client.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/hid/hid_api.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/api/hid/hid_device_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/common/api/_api_features.json
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/api/_permission_features.json
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/permissions/extensions_api_permissions.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions_strings.grd
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/shell/app_shell.gyp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/DEPS
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/shell/browser/api/shell_extensions_api_client.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/shell/browser/api/shell_extensions_api_client.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_extensions_browser_client.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|