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

Unified Diff: content/public/test/mock_render_thread.h

Issue 2755813002: Begin to wean child processes off reliance on a persistent service_manager::Connection to the brows… (Closed)
Patch Set: . Created 3 years, 9 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
« no previous file with comments | « content/public/gpu/content_gpu_client.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_thread.h
diff --git a/content/public/test/mock_render_thread.h b/content/public/test/mock_render_thread.h
index fd534427bd9fe0047107a0f7e1cecb85d8b15eba..f6cca7389d546305fbc1846faf4d3c8d872bb1a1 100644
--- a/content/public/test/mock_render_thread.h
+++ b/content/public/test/mock_render_thread.h
@@ -16,6 +16,7 @@
#include "content/public/renderer/render_thread.h"
#include "ipc/ipc_test_sink.h"
#include "ipc/message_filter.h"
+#include "services/service_manager/public/interfaces/connector.mojom.h"
#include "services/service_manager/public/interfaces/interface_provider.mojom.h"
#include "third_party/WebKit/public/web/WebPopupType.h"
@@ -89,7 +90,7 @@ class MockRenderThread : public RenderThread {
#endif
ServiceManagerConnection* GetServiceManagerConnection() override;
service_manager::InterfaceRegistry* GetInterfaceRegistry() override;
- service_manager::InterfaceProvider* GetRemoteInterfaces() override;
+ service_manager::Connector* GetConnector() override;
void SetFieldTrialGroup(const std::string& trial_name,
const std::string& group_name) override;
@@ -167,9 +168,8 @@ class MockRenderThread : public RenderThread {
cc::TestSharedBitmapManager shared_bitmap_manager_;
std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_;
- std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_;
- service_manager::mojom::InterfaceProviderRequest
- pending_remote_interface_provider_request_;
+ std::unique_ptr<service_manager::Connector> connector_;
+ service_manager::mojom::ConnectorRequest pending_connector_request_;
std::unique_ptr<mojom::RenderMessageFilter> mock_render_message_filter_;
};
« no previous file with comments | « content/public/gpu/content_gpu_client.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698