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

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

Issue 1991323002: Send input event IPCs directly from the UI thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_process_host.h ('k') | ipc/ipc_channel_proxy.h » ('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.cc
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index 43b47a342ffb39f632e07b907dad43de30a182f3..dd10d04b7a4aa6c85e0f5871465730bed760fca9 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -240,7 +240,15 @@ bool MockRenderProcessHost::InSameStoragePartition(
}
IPC::ChannelProxy* MockRenderProcessHost::GetChannel() {
- return NULL;
+ return nullptr;
+}
+
+IPC::Sender* MockRenderProcessHost::GetImmediateSender() {
+ return this;
+}
+
+IPC::Sender* MockRenderProcessHost::GetIOThreadSender() {
+ return this;
}
void MockRenderProcessHost::AddFilter(BrowserMessageFilter* filter) {
« no previous file with comments | « content/public/test/mock_render_process_host.h ('k') | ipc/ipc_channel_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698