Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: chrome/common/common_param_traits_macros.h

Issue 2614033004: Convert SetContentSettingRules to use mojo, part 2/2. (Closed)
Patch Set: Convert SetContentSettingRules to use mojo, part 2/2. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/content_settings_pattern_serializer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Singly or multiply-included shared traits file depending upon circumstances. 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 6 // This allows the use of IPC serialization macros in more than one IPC message
7 // file. 7 // file.
8 #ifndef CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 8 #ifndef CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
9 #define CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 9 #define CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
10 10
11 #include "components/content_settings/core/common/content_settings.h"
12 #include "components/content_settings/core/common/content_settings_types.h" 11 #include "components/content_settings/core/common/content_settings_types.h"
13 #include "ipc/ipc_message_macros.h" 12 #include "ipc/ipc_message_macros.h"
14 13
15 IPC_ENUM_TRAITS_MAX_VALUE(ContentSetting, CONTENT_SETTING_NUM_SETTINGS - 1)
16 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType, 14 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType,
17 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1) 15 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1)
18 16
19 #endif // CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 17 #endif // CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/content_settings_pattern_serializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698