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

Side by Side Diff: content/public/app/mojo/content_browser_manifest.json

Issue 2388523002: Use capability spec to control interfaces exposed between gpu & browser processes. (Closed)
Patch Set: . Created 4 years, 2 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/public/app/mojo/content_gpu_manifest.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "manifest_version": 1, 2 "manifest_version": 1,
3 "name": "exe:content_browser", 3 "name": "exe:content_browser",
4 "process-group": "browser", 4 "process-group": "browser",
5 "display_name": "Content Browser", 5 "display_name": "Content Browser",
6 "capabilities": { 6 "capabilities": {
7 // Remove this once http://crbug.com/632818 is fixed. 7 // Remove this once http://crbug.com/632818 is fixed.
8 "provided": { 8 "provided": {
9 "all_interfaces": [ "*" ],
10 "gpu": [ ], 9 "gpu": [ ],
11 "plugin": [ ], 10 "plugin": [ ],
12 "web": [ 11 "renderer": [
13 "blink::mojom::BackgroundSyncService", 12 "blink::mojom::BackgroundSyncService",
14 "blink::mojom::BroadcastChannelProvider", 13 "blink::mojom::BroadcastChannelProvider",
15 "blink::mojom::BudgetService", 14 "blink::mojom::BudgetService",
16 "blink::mojom::MimeRegistry", 15 "blink::mojom::MimeRegistry",
17 "blink::mojom::NotificationService", 16 "blink::mojom::NotificationService",
18 "blink::mojom::OffscreenCanvasCompositorFrameSinkProvider", 17 "blink::mojom::OffscreenCanvasCompositorFrameSinkProvider",
19 "blink::mojom::OffscreenCanvasSurface", 18 "blink::mojom::OffscreenCanvasSurface",
20 "blink::mojom::PermissionService", 19 "blink::mojom::PermissionService",
21 "blink::mojom::WebSocket", 20 "blink::mojom::WebSocket",
22 "content::mojom::MemoryCoordinatorHandle", 21 "content::mojom::MemoryCoordinatorHandle",
23 "content::mojom::StoragePartitionService", 22 "content::mojom::StoragePartitionService",
24 "content::mojom::URLLoaderFactory", 23 "content::mojom::URLLoaderFactory",
25 "device::BatteryMonitor", 24 "device::BatteryMonitor",
26 "device::mojom::LightSensor", 25 "device::mojom::LightSensor",
27 "device::mojom::MotionSensor", 26 "device::mojom::MotionSensor",
28 "device::mojom::OrientationSensor", 27 "device::mojom::OrientationSensor",
29 "device::mojom::TimeZoneMonitor", 28 "device::mojom::TimeZoneMonitor",
30 "media::mojom::ImageCapture", 29 "media::mojom::ImageCapture",
31 "memory_coordinator::mojom::MemoryCoordinatorHandle" 30 "memory_coordinator::mojom::MemoryCoordinatorHandle"
32 ] 31 ]
33 }, 32 },
34 "required": { 33 "required": {
35 "*": { "classes": [ "app" ] }, 34 "*": { "classes": [ "app" ] },
36 35
37 // We allow the browser to connect to any interfaces exposed by its child 36 // We allow the browser to connect to any interfaces exposed by its child
38 // processes in the "browser" class. 37 // processes in the "browser" class.
39 "exe:content_gpu": { "classes": [ "all_interfaces" ] }, 38 "exe:content_gpu": { "classes": [ "browser" ] },
40 "exe:content_plugin": { "classes": [ "browser" ] }, 39 "exe:content_plugin": { "classes": [ "browser" ] },
41 "exe:content_renderer": { "classes": [ "browser" ] }, 40 "exe:content_renderer": { "classes": [ "browser" ] },
42 "exe:content_utility": { "classes": [ "browser" ] }, 41 "exe:content_utility": { "classes": [ "browser" ] },
43 42
44 "mojo:shell": { 43 "mojo:shell": {
45 "classes": [ 44 "classes": [
46 "shell:client_process", 45 "shell:client_process",
47 "shell:instance_name", 46 "shell:instance_name",
48 "shell:user_id" 47 "shell:user_id"
49 ] 48 ]
50 }, 49 },
51 "mojo:file": { 50 "mojo:file": {
52 "interfaces": [ 51 "interfaces": [
53 "leveldb::mojom::LevelDBService", 52 "leveldb::mojom::LevelDBService",
54 "user_service::UserService" 53 "user_service::UserService"
55 ] 54 ]
56 }, 55 },
57 "mojo:media": { "classes": [ "all_interfaces" ] } 56 "mojo:media": { "classes": [ "all_interfaces" ] }
58 } 57 }
59 } 58 }
60 } 59 }
OLDNEW
« no previous file with comments | « no previous file | content/public/app/mojo/content_gpu_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698