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

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

Issue 2531133002: Convert SetIsIncognitoProcess to use mojo. (Closed)
Patch Set: Convert SetIsIncognitoProcess to use mojo. Created 4 years 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/render_thread_observer.h
diff --git a/content/public/renderer/render_thread_observer.h b/content/public/renderer/render_thread_observer.h
index fd2ca57c4b8377965711047e0037ded3d90f26cc..60a88d7590da99be736d57f629e8d0e70e456c15 100644
--- a/content/public/renderer/render_thread_observer.h
+++ b/content/public/renderer/render_thread_observer.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "content/common/content_export.h"
+#include "content/public/common/associated_interface_registry.h"
namespace IPC {
class Message;
@@ -21,6 +22,12 @@ class CONTENT_EXPORT RenderThreadObserver {
RenderThreadObserver() {}
virtual ~RenderThreadObserver() {}
+ // Allows handling incoming Mojo requests.
+ virtual void RegisterMojoInterfaces(
+ AssociatedInterfaceRegistry* associated_interfaces) {}
+ virtual void UnregisterMojoInterfaces(
+ AssociatedInterfaceRegistry* associated_interfaces) {}
+
// Allows filtering of control messages.
virtual bool OnControlMessageReceived(const IPC::Message& message);

Powered by Google App Engine
This is Rietveld 408576698