| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 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 | |
| 7 #include <string> | |
| 8 | |
| 9 #include "build/build_config.h" | |
| 10 | |
| 11 #include "ipc/ipc_message_macros.h" | |
| 12 #include "ui/gfx/native_widget_types.h" | |
| 13 | |
| 14 #define IPC_MESSAGE_START ChromeBenchmarkingMsgStart | |
| 15 | |
| 16 // Message sent from the renderer to the browser to request that the browser | |
| 17 // close all sockets. Used for debugging/testing. | |
| 18 // | |
| 19 // This message must be synchronous so that the test harness can not | |
| 20 // issue further network requests before it completes. | |
| 21 IPC_SYNC_MESSAGE_CONTROL0_0(ChromeViewHostMsg_CloseCurrentConnections) | |
| 22 | |
| 23 // Message sent from the renderer to the browser to request that the browser | |
| 24 // enable or disable the cache. Used for debugging/testing. | |
| 25 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_SetCacheMode, | |
| 26 bool /* enabled */) | |
| 27 | |
| 28 // Message sent from the renderer to the browser to request that the browser | |
| 29 // clear the cache. Used for debugging/testing. | |
| 30 // |result| is the returned status from the operation. | |
| 31 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_ClearCache, | |
| 32 int /* result */) | |
| 33 | |
| 34 // Message sent from the renderer to the browser to request that the browser | |
| 35 // clear the host cache. Used for debugging/testing. | |
| 36 IPC_SYNC_MESSAGE_CONTROL0_0(ChromeViewHostMsg_ClearHostResolverCache) | |
| 37 | |
| 38 // Message sent from the renderer to the browser to request that the browser | |
| 39 // clear the predictor cache. Used for debugging/testing. | |
| 40 IPC_SYNC_MESSAGE_CONTROL0_0(ChromeViewHostMsg_ClearPredictorCache) | |
| OLD | NEW |