OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include "base/strings/string16.h" | 6 #include "base/strings/string16.h" |
7 #include "components/content_settings/core/common/content_settings_types.h" | 7 #include "components/content_settings/core/common/content_settings_types.h" |
| 8 #include "content/public/common/common_param_traits.h" |
| 9 #include "content/public/common/common_param_traits_macros.h" |
8 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
9 #include "url/gurl.h" | 11 #include "url/gurl.h" |
10 #include "url/ipc/url_param_traits.h" | |
11 | 12 |
12 #define IPC_MESSAGE_START ContentSettingsMsgStart | 13 #define IPC_MESSAGE_START ContentSettingsMsgStart |
13 | 14 |
14 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType, | 15 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType, |
15 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1) | 16 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1) |
16 | 17 |
17 //----------------------------------------------------------------------------- | 18 //----------------------------------------------------------------------------- |
18 // These are messages sent from the browser to the renderer process. | 19 // These are messages sent from the browser to the renderer process. |
19 | 20 |
20 // Sent in response to FrameHostMsg_DidBlockDisplayingInsecureContent. | 21 // Sent in response to FrameHostMsg_DidBlockDisplayingInsecureContent. |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, | 91 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, |
91 int /* render_frame_id */, | 92 int /* render_frame_id */, |
92 GURL /* origin_url */, | 93 GURL /* origin_url */, |
93 GURL /* top origin url */, | 94 GURL /* top origin url */, |
94 base::string16 /* database name */, | 95 base::string16 /* database name */, |
95 bool /* allowed */) | 96 bool /* allowed */) |
96 | 97 |
97 // Sent when the renderer was prevented from displaying insecure content in | 98 // Sent when the renderer was prevented from displaying insecure content in |
98 // a secure page by a security policy. The page may appear incomplete. | 99 // a secure page by a security policy. The page may appear incomplete. |
99 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) | 100 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) |
OLD | NEW |