Add ICU message format support
[chromium-blink-merge.git] / chrome / common / benchmarking_messages.h
blob1a4acee4a0c28f541bbcdabcb8a085e867173ec7
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.
5 // Multiply-included file, no traditional include guard.
7 #include <string>
9 #include "base/basictypes.h"
10 #include "build/build_config.h"
12 #include "ipc/ipc_message_macros.h"
13 #include "ui/gfx/native_widget_types.h"
15 #define IPC_MESSAGE_START ChromeBenchmarkingMsgStart
17 // Message sent from the renderer to the browser to request that the browser
18 // close all sockets. Used for debugging/testing.
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)
24 // Message sent from the renderer to the browser to request that the browser
25 // enable or disable the cache. Used for debugging/testing.
26 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_SetCacheMode,
27 bool /* enabled */)
29 // Message sent from the renderer to the browser to request that the browser
30 // clear the cache. Used for debugging/testing.
31 // |result| is the returned status from the operation.
32 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_ClearCache,
33 int /* result */)
35 // Message sent from the renderer to the browser to request that the browser
36 // clear the host cache. Used for debugging/testing.
37 IPC_SYNC_MESSAGE_CONTROL0_0(ChromeViewHostMsg_ClearHostResolverCache)
39 // Message sent from the renderer to the browser to request that the browser
40 // clear the predictor cache. Used for debugging/testing.
41 IPC_SYNC_MESSAGE_CONTROL0_0(ChromeViewHostMsg_ClearPredictorCache)