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

Unified Diff: mojo/public/cpp/bindings/tests/sample_service_unittest.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
Index: mojo/public/cpp/bindings/tests/sample_service_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/sample_service_unittest.cc b/mojo/public/cpp/bindings/tests/sample_service_unittest.cc
index a93eb71cfb5be98e44fcf9cdc657eaa01309d418..e06ecd64315ffe09b71502506b1f56687fb418a5 100644
--- a/mojo/public/cpp/bindings/tests/sample_service_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/sample_service_unittest.cc
@@ -287,12 +287,12 @@ class ServiceImpl : public Service {
class ServiceProxyImpl : public ServiceProxy {
public:
- explicit ServiceProxyImpl(mojo::MessageReceiver* receiver)
+ explicit ServiceProxyImpl(mojo::MessageReceiverWithResponder* receiver)
: ServiceProxy(receiver) {
}
};
-class SimpleMessageReceiver : public mojo::MessageReceiver {
+class SimpleMessageReceiver : public mojo::MessageReceiverWithResponder {
public:
virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE {
// Imagine some IPC happened here.
« no previous file with comments | « mojo/public/cpp/bindings/tests/router_unittest.cc ('k') | mojo/public/cpp/bindings/tests/validation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698