| Index: mojo/public/cpp/bindings/lib/message_validator.cc
|
| diff --git a/mojo/public/cpp/bindings/lib/message_validator.cc b/mojo/public/cpp/bindings/lib/message_validator.cc
|
| deleted file mode 100644
|
| index 4d0b455e748db606b16dd91213cd6880305f71ed..0000000000000000000000000000000000000000
|
| --- a/mojo/public/cpp/bindings/lib/message_validator.cc
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "mojo/public/cpp/bindings/message_validator.h"
|
| -
|
| -namespace mojo {
|
| -namespace internal {
|
| -
|
| -ValidationError PassThroughValidator::Validate(const Message* message,
|
| - std::string* err) {
|
| - return ValidationError::NONE;
|
| -}
|
| -
|
| -ValidationError RunValidatorsOnMessage(const MessageValidatorList& validators,
|
| - const Message* message,
|
| - std::string* err) {
|
| - for (const auto& validator : validators) {
|
| - auto result = validator->Validate(message, err);
|
| - if (result != ValidationError::NONE)
|
| - return result;
|
| - }
|
| -
|
| - return ValidationError::NONE;
|
| -}
|
| -
|
| -} // namespace internal
|
| -} // namespace mojo
|
|
|