Make some browser interfaces accessible to all child processes
The discardable shared memory manager and resource_coordinator's
memory instrumentation interfaces may be usable by any child process,
and memory instrumentation is in fact already in use by GPU and
renderers.
This moves these interface binders to a shared ConnectionFilter attached
to all browser-side ServiceManagerConnection instances, ensuring that
all content child processes can bind the interfaces.
BUG=718559
Change-Id: I8a1a1ff5b749365d020f72480e25ba2d88a025b3
Reviewed-on: https://chromium-review.googlesource.com/496607
Commit-Queue: Ken Rockot <[email protected]>
Reviewed-by: Ben Goodger <[email protected]>
Cr-Commit-Position: refs/heads/master@{#469593}
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 16803c32..47c55207 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -1293,6 +1293,8 @@
"resource_context_impl.h",
"screen_orientation/screen_orientation_provider.cc",
"screen_orientation/screen_orientation_provider.h",
+ "service_manager/common_browser_interfaces.cc",
+ "service_manager/common_browser_interfaces.h",
"service_manager/merge_dictionary.cc",
"service_manager/merge_dictionary.h",
"service_manager/service_manager_context.cc",