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

Side by Side Diff: components/web_cache/common/web_cache_messages.h

Issue 1619363002: Add compile time checks against longs being used in IPC structs on 32 bit Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more per Dmitry Created 4 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
OLDNEW
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 */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698