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

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

Issue 2072613003: Convert GetSearchProviderInstallState to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 5 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
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 770377deaec476f32ab527f99c32fbb6cec50663..89863f5bb7b4ffb1bca232b9cfea8e3ece3ee404 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <utility>
#include "base/macros.h"
@@ -24,6 +25,7 @@ class StoragePartition;
namespace content {
class MockRenderProcessHostFactory;
+class OwnedInterface;
// A mock render process host that has no corresponding renderer process. All
// IPC messages are sent into the message sink for inspection by tests.
@@ -76,6 +78,7 @@ class MockRenderProcessHost : public RenderProcessHost {
bool InSameStoragePartition(StoragePartition* partition) const override;
IPC::ChannelProxy* GetChannel() override;
void AddFilter(BrowserMessageFilter* filter) override;
+ void AddOwnedInterface(std::unique_ptr<OwnedInterface> impl) override;
bool FastShutdownForPageCount(size_t count) override;
base::TimeDelta GetChildProcessIdleTime() const override;
void FilterURL(bool empty_allowed, GURL* url) override;

Powered by Google App Engine
This is Rietveld 408576698