Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 | 11 |
| 12 #include "ipc/ipc_message_macros.h" | 12 #include "ipc/ipc_message_macros.h" |
| 13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 14 | 14 |
| 15 #define IPC_MESSAGE_START ChromeBenchmarkingMsgStart | 15 #define IPC_MESSAGE_START ChromeBenchmarkingMsgStart |
| 16 | 16 |
| 17 // Message sent from the renderer to the browser to request that the browser | 17 // Message sent from the renderer to the browser to request that the browser |
| 18 // close all sockets. Used for debugging/testing. | 18 // close all sockets. Used for debugging/testing. |
| 19 IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_CloseCurrentConnections) | 19 // |
| 20 // This message must be synchronous so that the test harness can not | |
| 21 // issue further network requests before it completes. | |
| 22 IPC_SYNC_MESSAGE_CONTROL0_0(ChromeViewHostMsg_CloseCurrentConnections) | |
|
tonyg
2013/09/04 00:02:24
lgtm as long as you've verified that the comment s
Ken Russell (switch to Gerrit)
2013/09/04 17:18:59
The comment's still accurate. This message is igno
| |
| 20 | 23 |
| 21 // Message sent from the renderer to the browser to request that the browser | 24 // Message sent from the renderer to the browser to request that the browser |
| 22 // enable or disable the cache. Used for debugging/testing. | 25 // enable or disable the cache. Used for debugging/testing. |
| 23 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_SetCacheMode, | 26 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_SetCacheMode, |
| 24 bool /* enabled */) | 27 bool /* enabled */) |
| 25 | 28 |
| 26 // Message sent from the renderer to the browser to request that the browser | 29 // Message sent from the renderer to the browser to request that the browser |
| 27 // clear the cache. Used for debugging/testing. | 30 // clear the cache. Used for debugging/testing. |
| 28 // |result| is the returned status from the operation. | 31 // |result| is the returned status from the operation. |
| 29 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_ClearCache, | 32 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_ClearCache, |
| 30 int /* result */) | 33 int /* result */) |
| 31 | 34 |
| 32 // Message sent from the renderer to the browser to request that the browser | 35 // Message sent from the renderer to the browser to request that the browser |
| 33 // clear the host cache. Used for debugging/testing. | 36 // clear the host cache. Used for debugging/testing. |
| 34 // |result| is the returned status from the operation. | 37 // |result| is the returned status from the operation. |
| 35 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_ClearHostResolverCache, | 38 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_ClearHostResolverCache, |
| 36 int /* result */) | 39 int /* result */) |
| 37 | 40 |
| 38 // Message sent from the renderer to the browser to request that the browser | 41 // Message sent from the renderer to the browser to request that the browser |
| 39 // enable or disable spdy. Used for debugging/testing/benchmarking. | 42 // enable or disable spdy. Used for debugging/testing/benchmarking. |
| 40 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_EnableSpdy, | 43 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_EnableSpdy, |
| 41 bool /* enable */) | 44 bool /* enable */) |
| 42 | 45 |
| 43 // Message sent from the renderer to the browser to request that the browser | 46 // Message sent from the renderer to the browser to request that the browser |
| 44 // clear the predictor cache. Used for debugging/testing. | 47 // clear the predictor cache. Used for debugging/testing. |
| 45 // |result| is the returned status from the operation. | 48 // |result| is the returned status from the operation. |
| 46 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_ClearPredictorCache, | 49 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_ClearPredictorCache, |
| 47 int /* result */) | 50 int /* result */) |
| OLD | NEW |