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

Unified Diff: mojo/public/cpp/bindings/lib/router.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/router.h ('k') | mojo/public/cpp/bindings/message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/router.cc
diff --git a/mojo/public/cpp/bindings/lib/router.cc b/mojo/public/cpp/bindings/lib/router.cc
index bb578d9beb47d0a5bf2f7870beb74eabf072256e..7d0d868a044f536728537f701e254b161ace4b0a 100644
--- a/mojo/public/cpp/bindings/lib/router.cc
+++ b/mojo/public/cpp/bindings/lib/router.cc
@@ -30,12 +30,6 @@ class ResponderThunk : public MessageReceiver {
return result;
}
- virtual bool AcceptWithResponder(Message* message,
- MessageReceiver* responder) MOJO_OVERRIDE {
- assert(false); // not reached!
- return false;
- }
-
private:
SharedData<Router*> router_;
};
@@ -53,13 +47,6 @@ bool Router::HandleIncomingMessageThunk::Accept(Message* message) {
return router_->HandleIncomingMessage(message);
}
-bool Router::HandleIncomingMessageThunk::AcceptWithResponder(
- Message* message,
- MessageReceiver* responder) {
- assert(false); // not reached!
- return false;
-}
-
// ----------------------------------------------------------------------------
Router::Router(ScopedMessagePipeHandle message_pipe,
« no previous file with comments | « mojo/public/cpp/bindings/lib/router.h ('k') | mojo/public/cpp/bindings/message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698