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

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

Issue 2836813006: Revert of Eliminate ChildThread InterfaceRegistry. (Closed)
Patch Set: Created 3 years, 8 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/common/service_manager_connection.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 3a00754a183dafdda6eeb09b8ecef79319c61127..f6cca7389d546305fbc1846faf4d3c8d872bb1a1 100644
--- a/content/public/test/mock_render_thread.h
+++ b/content/public/test/mock_render_thread.h
@@ -17,6 +17,7 @@
#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"
struct FrameHostMsg_CreateChildFrame_Params;
@@ -88,6 +89,7 @@
void ReleaseCachedFonts() override;
#endif
ServiceManagerConnection* GetServiceManagerConnection() override;
+ service_manager::InterfaceRegistry* GetInterfaceRegistry() override;
service_manager::Connector* GetConnector() override;
void SetFieldTrialGroup(const std::string& trial_name,
const std::string& group_name) override;
@@ -165,6 +167,7 @@
base::ObserverList<RenderThreadObserver> observers_;
cc::TestSharedBitmapManager shared_bitmap_manager_;
+ std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_;
std::unique_ptr<service_manager::Connector> connector_;
service_manager::mojom::ConnectorRequest pending_connector_request_;
« no previous file with comments | « content/public/common/service_manager_connection.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698