Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / components / web_cache / common / web_cache_messages.h
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
3 // found in the LICENSE file.
4
5 // Multiply-included file, no traditional include guard.
6 #include "ipc/ipc_message_macros.h"
7 #include "ipc/ipc_message_utils.h"
8
9 #define IPC_MESSAGE_START WebCacheMsgStart
10
11 //-----------------------------------------------------------------------------
12 // RenderView messages
13 // These are messages sent from the browser to the renderer process.
14
15 // Tells the renderer to set its maximum cache size to the supplied value.
16 IPC_MESSAGE_CONTROL3(WebCacheMsg_SetCacheCapacities,
17                      size_t /* min_dead_capacity */,
18                      size_t /* max_dead_capacity */,
19                      size_t /* capacity */)
20
21 // Tells the renderer to clear the cache.
22 IPC_MESSAGE_CONTROL1(WebCacheMsg_ClearCache,
23                      bool /* on_navigation */)