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

Unified Diff: content/public/app/mojo/content_browser_manifest.json

Issue 2259903002: Enforce capability spec renderer <--> browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/public/app/mojo/content_browser_manifest.json
diff --git a/content/public/app/mojo/content_browser_manifest.json b/content/public/app/mojo/content_browser_manifest.json
index 3cb41bfba828c034369904ab5c6321f7a42e5d91..44a404d5bbe1bc6f485d7cc3b8bc67fda43a0c1f 100644
--- a/content/public/app/mojo/content_browser_manifest.json
+++ b/content/public/app/mojo/content_browser_manifest.json
@@ -6,7 +6,21 @@
"capabilities": {
// Remove this once http://crbug.com/632818 is fixed.
"provided": {
- "all_interfaces": [ "*" ]
+ "all_interfaces": [ "*" ],
+ "web": [
+ "blink::mojom::BackgroundSyncService",
+ "blink::mojom::MimeRegistry",
+ "blink::mojom::NotificationService",
+ "blink::mojom::WebSocket",
+ "content::mojom::StoragePartitionService",
+ "content::mojom::URLLoaderFactory",
+ "device::BatteryMonitor",
+ "device::mojom::LightSensor",
+ "device::mojom::MotionSensor",
+ "device::mojom::OrientationSensor",
+ "media::mojom::ImageCapture",
+ "memory_coordinator::mojom::MemoryCoordinatorHandle"
+ ]
},
"required": {
"*": { "classes": [ "app" ] },
@@ -15,7 +29,7 @@
// processes.
"exe:content_gpu": { "classes": [ "all_interfaces" ] },
"exe:content_plugin": { "classes": [ "all_interfaces" ] },
- "exe:content_renderer": { "classes": [ "all_interfaces" ] },
+ "exe:content_renderer": { "classes": [ "browser" ] },
"exe:content_utility": { "classes": [ "all_interfaces" ] },
"mojo:shell": {

Powered by Google App Engine
This is Rietveld 408576698