blob: 855db4c3cb3b39699769382a8ca322fc0ef646ab [file] [log] [blame]
// 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/public/cpp/bindings/lib/unserialized_message_context.h"
namespace mojo {
namespace internal {
UnserializedMessageContext::UnserializedMessageContext(const Tag* tag,
uint32_t message_name,
uint32_t message_flags)
: tag_(tag) {
header_.interface_id = 0;
header_.version = 1;
header_.name = message_name;
header_.flags = message_flags;
}
UnserializedMessageContext::~UnserializedMessageContext() = default;
} // namespace internal
} // namespace mojo