| 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" | 8 #include "content/public/common/common_param_traits.h" |
| 9 #include "content/public/common/common_param_traits_macros.h" | 9 #include "content/public/common/common_param_traits_macros.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 // Sent by the renderer process to check whether access to DOM Storage is | 67 // Sent by the renderer process to check whether access to DOM Storage is |
| 68 // granted by content settings. | 68 // granted by content settings. |
| 69 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowDOMStorage, | 69 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowDOMStorage, |
| 70 int /* render_frame_id */, | 70 int /* render_frame_id */, |
| 71 GURL /* origin_url */, | 71 GURL /* origin_url */, |
| 72 GURL /* top origin url */, | 72 GURL /* top origin url */, |
| 73 bool /* if true local storage, otherwise session */, | 73 bool /* if true local storage, otherwise session */, |
| 74 bool /* allowed */) | 74 bool /* allowed */) |
| 75 | 75 |
| 76 // Sent by the renderer process when a keygen element is rendered onto the |
| 77 // current page. |
| 78 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_DidUseKeygen, |
| 79 GURL /* origin_url */) |
| 80 |
| 76 // Sent by the renderer process to check whether access to FileSystem is | 81 // Sent by the renderer process to check whether access to FileSystem is |
| 77 // granted by content settings. | 82 // granted by content settings. |
| 78 IPC_MESSAGE_CONTROL4(ChromeViewHostMsg_RequestFileSystemAccessAsync, | 83 IPC_MESSAGE_CONTROL4(ChromeViewHostMsg_RequestFileSystemAccessAsync, |
| 79 int /* render_frame_id */, | 84 int /* render_frame_id */, |
| 80 int /* request_id */, | 85 int /* request_id */, |
| 81 GURL /* origin_url */, | 86 GURL /* origin_url */, |
| 82 GURL /* top origin url */) | 87 GURL /* top origin url */) |
| 83 | 88 |
| 84 // Sent by the renderer process to check whether access to Indexed DBis | 89 // Sent by the renderer process to check whether access to Indexed DBis |
| 85 // granted by content settings. | 90 // granted by content settings. |
| 86 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, | 91 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB, |
| 87 int /* render_frame_id */, | 92 int /* render_frame_id */, |
| 88 GURL /* origin_url */, | 93 GURL /* origin_url */, |
| 89 GURL /* top origin url */, | 94 GURL /* top origin url */, |
| 90 base::string16 /* database name */, | 95 base::string16 /* database name */, |
| 91 bool /* allowed */) | 96 bool /* allowed */) |
| 92 | 97 |
| 93 // Sent when the renderer was prevented from displaying insecure content in | 98 // Sent when the renderer was prevented from displaying insecure content in |
| 94 // 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. |
| 95 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) | 100 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent) |
| OLD | NEW |