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

Unified Diff: content/public/browser/render_process_host.h

Issue 2606593002: [ServiceWorker] Associate interfaces.
Patch Set: Fix unit tests 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/browser/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index 3bdae8d874aca6a4e2f220c680ae9952a13a57a1..c7659ca07c37ea0f0c2c404dfefd889604019473 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -37,6 +37,7 @@ class InterfaceProvider;
}
namespace content {
+class AssociatedInterfaceProvider;
class BrowserContext;
class BrowserMessageFilter;
class RenderProcessHostObserver;
@@ -276,6 +277,11 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// interfaces exposed to it from the renderer.
virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0;
+ // Is implemented by MockRenderProcessHost to establish associated interface
+ // connections for tests.
+ virtual AssociatedInterfaceProvider*
+ GetAssociatedInterfaceProviderForTesting() = 0;
+
// Extracts any persistent-memory-allocator used for renderer metrics.
// Ownership is passed to the caller. To support sharing of histogram data
// between the Renderer and the Browser, the allocator is created when the

Powered by Google App Engine
This is Rietveld 408576698