[Cronet] Delay StartNetLog and StopNetLog until native request context is initialized
[chromium-blink-merge.git] / components / web_cache / common / web_cache_messages.h
bloba521399101c012d285e41c7fe443811755f2bf76
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.
5 // Multiply-included file, no traditional include guard.
6 #include "ipc/ipc_message_macros.h"
7 #include "ipc/ipc_message_utils.h"
9 #define IPC_MESSAGE_START WebCacheMsgStart
11 //-----------------------------------------------------------------------------
12 // RenderView messages
13 // These are messages sent from the browser to the renderer process.
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 */)
21 // Tells the renderer to clear the cache.
22 IPC_MESSAGE_CONTROL1(WebCacheMsg_ClearCache,
23 bool /* on_navigation */)