test_interface_impl.cc 450 B

12345678910111213141516
  1. // Copyright 2018 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. #include "base/fuchsia/test_interface_impl.h"
  5. namespace base {
  6. TestInterfaceImpl::TestInterfaceImpl() = default;
  7. TestInterfaceImpl::~TestInterfaceImpl() = default;
  8. void TestInterfaceImpl::Add(int32_t a, int32_t b, AddCallback callback) {
  9. callback(a + b);
  10. }
  11. } // namespace base