| Index: components/arc/common/arc_message_traits.h
|
| diff --git a/components/arc/common/arc_message_traits.h b/components/arc/common/arc_message_traits.h
|
| index 9d0938ff917899742adc50297cd8c189c703b9e8..24c9e36c1b6257a685d70c629f87ea549e0e7b30 100644
|
| --- a/components/arc/common/arc_message_traits.h
|
| +++ b/components/arc/common/arc_message_traits.h
|
| @@ -2,9 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/arc/common/arc_message_types.h"
|
| #include "ipc/ipc_message_macros.h"
|
| -#include "ipc/ipc_message_utils.h"
|
| +
|
| +// Using relative paths since this file is shared between chromium and android.
|
| +#include "arc_message_types.h"
|
| +#include "arc_notification_types.h"
|
|
|
| IPC_ENUM_TRAITS_MIN_MAX_VALUE(arc::ScaleFactor,
|
| arc::ScaleFactor::SCALE_FACTOR_100P,
|
| @@ -15,3 +17,25 @@ IPC_STRUCT_TRAITS_BEGIN(arc::AppInfo)
|
| IPC_STRUCT_TRAITS_MEMBER(package)
|
| IPC_STRUCT_TRAITS_MEMBER(activity)
|
| IPC_STRUCT_TRAITS_END()
|
| +
|
| +// Enum for notification type.
|
| +IPC_ENUM_TRAITS_MAX_VALUE(arc::ArcNotificationType,
|
| + arc::ArcNotificationType::LAST)
|
| +
|
| +// Struct for notification data.
|
| +IPC_STRUCT_TRAITS_BEGIN(arc::ArcNotificationData)
|
| + IPC_STRUCT_TRAITS_MEMBER(key)
|
| + IPC_STRUCT_TRAITS_MEMBER(type)
|
| + IPC_STRUCT_TRAITS_MEMBER(message)
|
| + IPC_STRUCT_TRAITS_MEMBER(title)
|
| + IPC_STRUCT_TRAITS_MEMBER(icon_mimetype)
|
| + IPC_STRUCT_TRAITS_MEMBER(icon_data)
|
| + IPC_STRUCT_TRAITS_MEMBER(priority)
|
| + IPC_STRUCT_TRAITS_MEMBER(time)
|
| + IPC_STRUCT_TRAITS_MEMBER(progress_current)
|
| + IPC_STRUCT_TRAITS_MEMBER(progress_max)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| +// Enum for notification event types.
|
| +IPC_ENUM_TRAITS_MAX_VALUE(arc::ArcNotificationEvent,
|
| + arc::ArcNotificationEvent::LAST)
|
|
|