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

Unified Diff: mojo/public/cpp/bindings/lib/message_filter.cc

Issue 299833008: Move AcceptWithResponder() out of the MessageReceiver interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | « mojo/public/cpp/bindings/lib/interface_ptr_internal.h ('k') | mojo/public/cpp/bindings/lib/router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/message_filter.cc
diff --git a/mojo/public/cpp/bindings/lib/message_filter.cc b/mojo/public/cpp/bindings/lib/message_filter.cc
index a5203133160cfed9e25b3292b35a50668b2d91e4..b09f40d8c5efeeecac996cf8868cfaebb39975b5 100644
--- a/mojo/public/cpp/bindings/lib/message_filter.cc
+++ b/mojo/public/cpp/bindings/lib/message_filter.cc
@@ -4,8 +4,6 @@
#include "mojo/public/cpp/bindings/message_filter.h"
-#include <assert.h>
-
namespace mojo {
MessageFilter::MessageFilter(MessageReceiver* sink) : sink_(sink) {
@@ -14,12 +12,6 @@ MessageFilter::MessageFilter(MessageReceiver* sink) : sink_(sink) {
MessageFilter::~MessageFilter() {
}
-bool MessageFilter::AcceptWithResponder(Message* message,
- MessageReceiver* responder) {
- assert(false); // Not reached!
- return false;
-}
-
PassThroughFilter::PassThroughFilter(MessageReceiver* sink)
: MessageFilter(sink) {
}
« no previous file with comments | « mojo/public/cpp/bindings/lib/interface_ptr_internal.h ('k') | mojo/public/cpp/bindings/lib/router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698