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

Unified Diff: mojo/public/cpp/bindings/no_interface.h

Issue 273233002: Mojo cpp bindings: add support for validating incoming messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/no_interface.h
diff --git a/mojo/public/cpp/bindings/no_interface.h b/mojo/public/cpp/bindings/no_interface.h
index 02682d4b00445ec35cf3355438a27a7fda1d414d..73d21c24f3d2c5faef3afa94cfdba3fceedd38c1 100644
--- a/mojo/public/cpp/bindings/no_interface.h
+++ b/mojo/public/cpp/bindings/no_interface.h
@@ -8,6 +8,7 @@
#include <assert.h>
#include "mojo/public/cpp/bindings/message.h"
+#include "mojo/public/cpp/bindings/message_filter.h"
#include "mojo/public/cpp/system/core.h"
namespace mojo {
@@ -22,6 +23,8 @@ class NoInterface {
public:
typedef NoInterfaceProxy Proxy_;
typedef NoInterfaceStub Stub_;
+ typedef NullFilter RequestValidator_;
+ typedef NullFilter ResponseValidator_;
typedef NoInterface Client_;
virtual ~NoInterface() {}
virtual void SetClient(NoInterface* client) {}

Powered by Google App Engine
This is Rietveld 408576698