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

Side by Side Diff: mojo/public/cpp/bindings/lib/message_validator.cc

Issue 273233002: Mojo cpp bindings: add support for validating incoming messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto the InterfacePtr change 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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/lib/message_validator.h"
6
7 #include <assert.h>
8
9 namespace mojo {
10 namespace internal {
11
12 MessageValidator::MessageValidator(MessageReceiver* next) : next_(next) {
13 }
14
15 MessageValidator::~MessageValidator() {
16 }
17
18 bool MessageValidator::AcceptWithResponder(Message* message,
19 MessageReceiver* responder) {
20 assert(false); // Not reached!
21 return false;
22 }
23
24 } // namespace internal
25 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698