// Copyright 2018 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/base/process_id_mojom_traits.h" namespace mojo { bool StructTraits::Read( mojo_base::mojom::ProcessIdDataView data, base::ProcessId* process_id) { *process_id = static_cast(data.pid()); return true; } } // namespace mojo