1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Singly or multiply-included shared traits file depending upon circumstances.
6 // This allows the use of IPC serialization macros in more than one IPC message
8 #ifndef CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
9 #define CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
11 #include "chrome/common/content_settings.h"
12 #include "ipc/ipc_message_macros.h"
14 IPC_ENUM_TRAITS_MAX_VALUE(ContentSetting
, CONTENT_SETTING_NUM_SETTINGS
- 1)
15 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType
, CONTENT_SETTINGS_NUM_TYPES
- 1)
17 #endif // CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_