| Index: content/public/test/mock_render_process_host.cc
|
| diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
|
| index 1d87a48ad2aaad174b1c5963fa088021616a0839..ddcb3c5b33252a711368033d8f7ebab3cd91f8d1 100644
|
| --- a/content/public/test/mock_render_process_host.cc
|
| +++ b/content/public/test/mock_render_process_host.cc
|
| @@ -29,6 +29,7 @@
|
| #include "content/public/browser/notification_types.h"
|
| #include "content/public/browser/render_widget_host_iterator.h"
|
| #include "content/public/browser/storage_partition.h"
|
| +#include "content/public/test/fake_associated_interface_provider_impl.h"
|
| #include "media/media_features.h"
|
| #include "mojo/public/cpp/bindings/associated_interface_ptr.h"
|
|
|
| @@ -260,6 +261,16 @@ MockRenderProcessHost::GetRemoteInterfaces() {
|
| return remote_interfaces_.get();
|
| }
|
|
|
| +AssociatedInterfaceProvider*
|
| +MockRenderProcessHost::GetAssociatedInterfaceProviderForTesting() {
|
| + if (!fake_associated_interface_provider_) {
|
| + fake_associated_interface_provider_ =
|
| + base::MakeUnique<FakeAssociatedInterfaceProviderImpl>();
|
| + }
|
| +
|
| + return fake_associated_interface_provider_.get();
|
| +}
|
| +
|
| std::unique_ptr<base::SharedPersistentMemoryAllocator>
|
| MockRenderProcessHost::TakeMetricsAllocator() {
|
| return nullptr;
|
|
|