OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "mojo/public/cpp/bindings/message.h" |
| 6 |
| 7 namespace mojo { |
| 8 namespace internal { |
| 9 |
| 10 class MessageHeaderValidator : public MessageReceiver { |
| 11 public: |
| 12 explicit MessageHeaderValidator(MessageReceiver* next); |
| 13 |
| 14 virtual bool Accept(Message* message) MOJO_OVERRIDE; |
| 15 virtual bool AcceptWithResponder(Message* message, MessageReceiver* responder) |
| 16 MOJO_OVERRIDE; |
| 17 |
| 18 private: |
| 19 MessageReceiver* next_; |
| 20 }; |
| 21 |
| 22 } // namespace internal |
| 23 } // namespace mojo |
OLD | NEW |