// Copyright 2017 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/core/connection_params.h" #include <utility> #include "base/logging.h" namespace mojo { namespace core { ConnectionParams::ConnectionParams() = default; ConnectionParams::ConnectionParams(PlatformChannelEndpoint endpoint) : endpoint_(std::move(endpoint)) {} ConnectionParams::ConnectionParams( PlatformChannelServerEndpoint server_endpoint) : server_endpoint_(std::move(server_endpoint)) {} ConnectionParams::ConnectionParams(ConnectionParams&&) = default; ConnectionParams::~ConnectionParams() = default; ConnectionParams& ConnectionParams::operator=(ConnectionParams&& params) = default; } // namespace core } // namespace mojo