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

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: sync and 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/message_filter.h ('k') | mojo/public/cpp/bindings/sync_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5ebbbe7561605e4fc8a5414f6088c11e6db25d4a..5313ee226c56444de991f399b385bd1766e11e39 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 PassThroughFilter RequestValidator_;
+ typedef PassThroughFilter ResponseValidator_;
typedef NoInterface Client;
virtual ~NoInterface() {}
virtual void SetClient(NoInterface* client) {}
« no previous file with comments | « mojo/public/cpp/bindings/message_filter.h ('k') | mojo/public/cpp/bindings/sync_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698