OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 |
| 7 #include <stddef.h> |
| 8 |
6 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
7 #include "ipc/ipc_message_utils.h" | 10 #include "ipc/ipc_message_utils.h" |
8 | 11 |
9 #define IPC_MESSAGE_START WebCacheMsgStart | 12 #define IPC_MESSAGE_START WebCacheMsgStart |
10 | 13 |
11 //----------------------------------------------------------------------------- | 14 //----------------------------------------------------------------------------- |
12 // RenderView messages | 15 // RenderView messages |
13 // These are messages sent from the browser to the renderer process. | 16 // These are messages sent from the browser to the renderer process. |
14 | 17 |
15 // Tells the renderer to set its maximum cache size to the supplied value. | 18 // Tells the renderer to set its maximum cache size to the supplied value. |
16 IPC_MESSAGE_CONTROL3(WebCacheMsg_SetCacheCapacities, | 19 IPC_MESSAGE_CONTROL3(WebCacheMsg_SetCacheCapacities, |
17 size_t /* min_dead_capacity */, | 20 size_t /* min_dead_capacity */, |
18 size_t /* max_dead_capacity */, | 21 size_t /* max_dead_capacity */, |
19 size_t /* capacity */) | 22 size_t /* capacity */) |
20 | 23 |
21 // Tells the renderer to clear the cache. | 24 // Tells the renderer to clear the cache. |
22 IPC_MESSAGE_CONTROL1(WebCacheMsg_ClearCache, | 25 IPC_MESSAGE_CONTROL1(WebCacheMsg_ClearCache, |
23 bool /* on_navigation */) | 26 bool /* on_navigation */) |
OLD | NEW |