blob: dad5456c40fa877ffab5589e038e209aa1bb2a0f [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.
// NOLINT(build/header_guard)
// no-include-guard-because-multiply-included
#include "chrome/common/web_application_info.h"
#include "ipc/ipc_message_macros.h"
IPC_ENUM_TRAITS_MAX_VALUE(WebApplicationInfo::MobileCapable,
WebApplicationInfo::MOBILE_CAPABLE_APPLE)
IPC_STRUCT_TRAITS_BEGIN(WebApplicationIconInfo)
IPC_STRUCT_TRAITS_MEMBER(url)
IPC_STRUCT_TRAITS_MEMBER(square_size_px)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo)
IPC_STRUCT_TRAITS_MEMBER(title)
IPC_STRUCT_TRAITS_MEMBER(description)
IPC_STRUCT_TRAITS_MEMBER(app_url)
IPC_STRUCT_TRAITS_MEMBER(icon_infos)
IPC_STRUCT_TRAITS_MEMBER(icon_bitmaps)
IPC_STRUCT_TRAITS_MEMBER(mobile_capable)
IPC_STRUCT_TRAITS_END()