summaryrefslogtreecommitdiffstats
path: root/mojo/public/cpp/bindings/lib/no_interface.cc
blob: 9e0945c83b3b15b118f035ac07bea5c62f8aee2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2014 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/no_interface.h"

namespace mojo {

const char* NoInterface::Name_ = "mojo::NoInterface";

bool NoInterfaceStub::Accept(Message* message) {
  return false;
}

bool NoInterfaceStub::AcceptWithResponder(Message* message,
                                          MessageReceiver* responder) {
  return false;
}

}  // namespace mojo