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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 2054303002: Kill child processes on bad Mojo messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bad-message
Patch Set: . Created 4 years, 6 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/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 14d7cf088568ac1754db38fcc290b059692ecbac..579335b5152a642a72ba09abf07d06082ba78ce1 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -73,6 +73,7 @@ class DocumentState;
class MediaStreamRendererFactory;
class RenderFrame;
class RenderView;
+class ServiceRegistry;
class SynchronousCompositor;
struct WebPluginInfo;
@@ -350,6 +351,10 @@ class CONTENT_EXPORT ContentRendererClient {
// from the worker thread.
virtual void DidInitializeWorkerContextOnWorkerThread(
v8::Local<v8::Context> context) {}
+
+ // Adds service factories to the process-wide ServiceRegistry the host is
+ // connected to.
+ virtual void RegisterProcessMojoServices(ServiceRegistry* service_registry) {}
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698