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

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

Issue 2820883002: 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/test/mock_render_thread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_thread.cc
diff --git a/content/public/test/mock_render_thread.cc b/content/public/test/mock_render_thread.cc
index f2f9b4279cd294d35945352cb3dee5a20c787a8b..99ff137ba2b79b099bfc098edc35e9aa19d8517e 100644
--- a/content/public/test/mock_render_thread.cc
+++ b/content/public/test/mock_render_thread.cc
@@ -19,9 +19,6 @@
#include "ipc/ipc_sync_message.h"
#include "ipc/message_filter.h"
#include "services/service_manager/public/cpp/connector.h"
-#include "services/service_manager/public/cpp/interface_provider.h"
-#include "services/service_manager/public/cpp/interface_registry.h"
-#include "services/service_manager/public/interfaces/interface_provider_spec.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/web/WebScriptController.h"
@@ -253,14 +250,6 @@ ServiceManagerConnection* MockRenderThread::GetServiceManagerConnection() {
return nullptr;
}
-service_manager::InterfaceRegistry* MockRenderThread::GetInterfaceRegistry() {
- if (!interface_registry_) {
- interface_registry_ = base::MakeUnique<service_manager::InterfaceRegistry>(
- service_manager::mojom::kServiceManager_ConnectorSpec);
- }
- return interface_registry_.get();
-}
-
service_manager::Connector* MockRenderThread::GetConnector() {
if (!connector_) {
connector_ =
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698