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