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

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

Issue 2201183003: Remove outgoing interface registry on RPH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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/browser/utility_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_process_host.h
diff --git a/content/public/test/mock_render_process_host.h b/content/public/test/mock_render_process_host.h
index 170418d883b1093c0cdfc468836bb9232dabe165..3f04b4c20c964bfca7452147aa59a48a58290a90 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -18,7 +18,6 @@
#include "content/public/browser/render_process_host_factory.h"
#include "ipc/ipc_test_sink.h"
#include "services/shell/public/cpp/interface_provider.h"
-#include "services/shell/public/cpp/interface_registry.h"
class StoragePartition;
@@ -95,7 +94,6 @@ class MockRenderProcessHost : public RenderProcessHost {
#endif
void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
void NotifyTimezoneChange(const std::string& zone_id) override;
- shell::InterfaceRegistry* GetInterfaceRegistry() override;
shell::InterfaceProvider* GetRemoteInterfaces() override;
std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator()
override;
@@ -139,10 +137,6 @@ class MockRenderProcessHost : public RenderProcessHost {
int worker_ref_count() const { return worker_ref_count_; }
- void SetInterfaceRegistry(
- std::unique_ptr<shell::InterfaceRegistry> interface_registry) {
- interface_registry_ = std::move(interface_registry);
- }
void SetRemoteInterfaces(
std::unique_ptr<shell::InterfaceProvider> remote_interfaces) {
remote_interfaces_ = std::move(remote_interfaces);
@@ -167,7 +161,6 @@ class MockRenderProcessHost : public RenderProcessHost {
bool is_process_backgrounded_;
std::unique_ptr<base::ProcessHandle> process_handle;
int worker_ref_count_;
- std::unique_ptr<shell::InterfaceRegistry> interface_registry_;
std::unique_ptr<shell::InterfaceProvider> remote_interfaces_;
DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHost);
« no previous file with comments | « content/public/browser/utility_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698