blob: 5b9de691a96b3669398a5f7f97025697d397fcd3 [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(start_url)
IPC_STRUCT_TRAITS_MEMBER(icon_infos)
IPC_STRUCT_TRAITS_MEMBER(icon_bitmaps_any)
IPC_STRUCT_TRAITS_MEMBER(mobile_capable)
IPC_STRUCT_TRAITS_END()