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

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

Issue 2276043002: Support custom message filtering on Mojo binding objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 4 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/no_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/message_header_validator.h
diff --git a/mojo/public/cpp/bindings/message_header_validator.h b/mojo/public/cpp/bindings/message_header_validator.h
index 3bcbd0a9563c2f9c9ad94d7f4fa2ea739bcb82cb..52f02087d63d1593fda2c3b2c7b3582cb68eb43a 100644
--- a/mojo/public/cpp/bindings/message_header_validator.h
+++ b/mojo/public/cpp/bindings/message_header_validator.h
@@ -6,15 +6,13 @@
#define MOJO_PUBLIC_CPP_BINDINGS_MESSAGE_HEADER_VALIDATOR_H_
#include "mojo/public/cpp/bindings/message.h"
-#include "mojo/public/cpp/bindings/message_filter.h"
namespace mojo {
-class MessageHeaderValidator : public MessageFilter {
+class MessageHeaderValidator : public MessageReceiver {
public:
- explicit MessageHeaderValidator(MessageReceiver* sink = nullptr);
- MessageHeaderValidator(const std::string& description,
- MessageReceiver* sink = nullptr);
+ MessageHeaderValidator();
+ explicit MessageHeaderValidator(const std::string& description);
// Sets the description associated with this validator. Used for reporting
// more detailed validation errors.
« no previous file with comments | « mojo/public/cpp/bindings/message_filter.h ('k') | mojo/public/cpp/bindings/no_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698