chromium/extensions/common/mojom/permission_set_mojom_traits.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/common/mojom/permission_set_mojom_traits.h"
#include "base/memory/ptr_util.h"
#include "extensions/common/manifest_handler.h"
#include "extensions/common/permissions/permissions_info.h"

namespace mojo {

bool StructTraits<extensions::mojom::APIPermissionDataView,
                  std::unique_ptr<extensions::APIPermission>>::
    Read(extensions::mojom::APIPermissionDataView data,
         std::unique_ptr<extensions::APIPermission>* out) {}

bool StructTraits<extensions::mojom::APIPermissionSetDataView,
                  extensions::APIPermissionSet>::
    Read(extensions::mojom::APIPermissionSetDataView data,
         extensions::APIPermissionSet* out) {}

bool StructTraits<extensions::mojom::ManifestPermissionDataView,
                  std::unique_ptr<extensions::ManifestPermission>>::
    Read(extensions::mojom::ManifestPermissionDataView data,
         std::unique_ptr<extensions::ManifestPermission>* out) {}

bool StructTraits<extensions::mojom::ManifestPermissionSetDataView,
                  extensions::ManifestPermissionSet>::
    Read(extensions::mojom::ManifestPermissionSetDataView data,
         extensions::ManifestPermissionSet* out) {}

bool StructTraits<extensions::mojom::PermissionSetDataView,
                  extensions::PermissionSet>::
    Read(extensions::mojom::PermissionSetDataView data,
         extensions::PermissionSet* out) {}

}  // namespace mojo