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

Unified Diff: content/public/browser/browser_message_filter.h

Issue 1723473003: Remove limitation that renderer can't send sync IPCs to the UI thread in the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/browser/browser_message_filter.h
diff --git a/content/public/browser/browser_message_filter.h b/content/public/browser/browser_message_filter.h
index 8f652ecb9b4238b680ea69ddf642fef998cc1628..22b0e7d8a8cb12eae646df4fe974c97c12610a22 100644
--- a/content/public/browser/browser_message_filter.h
+++ b/content/public/browser/browser_message_filter.h
@@ -92,11 +92,6 @@ class CONTENT_EXPORT BrowserMessageFilter
peer_process_ = std::move(peer_process);
}
- // Checks that the given message can be dispatched on the UI thread, depending
- // on the platform. If not, returns false and an error ot the sender.
- static bool CheckCanDispatchOnUI(const IPC::Message& message,
- IPC::Sender* sender);
-
// Called by bad_message.h helpers if a message couldn't be deserialized. This
// kills the renderer. Can be called on any thread. This doesn't log the
// error details to UMA, so use the bad_message.h for your module instead.
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/public/browser/browser_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698