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

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
« no previous file with comments | « chrome/renderer/chrome_render_thread_observer.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..db090b2378a519977fbe8ea3d0b2adfa9a0cf767 100644
--- a/content/public/renderer/render_thread_observer.h
+++ b/content/public/renderer/render_thread_observer.h
@@ -13,6 +13,7 @@ class Message;
}
namespace content {
+class AssociatedInterfaceRegistry;
// Base class for objects that want to filter control IPC messages and get
// notified of events.
@@ -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);
« no previous file with comments | « chrome/renderer/chrome_render_thread_observer.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698