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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 2008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2019 // Asks the browser process to generate a keypair for grabbing a client | 2019 // Asks the browser process to generate a keypair for grabbing a client |
2020 // certificate from a CA (<keygen> tag), and returns the signed public | 2020 // certificate from a CA (<keygen> tag), and returns the signed public |
2021 // key and challenge string. | 2021 // key and challenge string. |
2022 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, | 2022 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, |
2023 uint32 /* key size index */, | 2023 uint32 /* key size index */, |
2024 std::string /* challenge string */, | 2024 std::string /* challenge string */, |
2025 GURL /* URL of requestor */, | 2025 GURL /* URL of requestor */, |
2026 std::string /* signed public key and challenge */) | 2026 std::string /* signed public key and challenge */) |
2027 | 2027 |
2028 // Message sent from the renderer to the browser to request that the browser | 2028 // Message sent from the renderer to the browser to request that the browser |
2029 // close all sockets. Used for debugging/testing. | |
2030 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections) | |
2031 | |
2032 // Message sent from the renderer to the browser to request that the browser | |
2033 // enable or disable the cache. Used for debugging/testing. | |
2034 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, | |
2035 bool /* enabled */) | |
2036 | |
2037 // Message sent from the renderer to the browser to request that the browser | |
2038 // clear the cache. Used for debugging/testing. | |
2039 // |preserve_ssl_host_info| controls whether clearing the cache will preserve | |
2040 // persisted SSL information stored in the cache. | |
2041 // |result| is the returned status from the operation. | |
2042 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_ClearCache, | |
2043 bool /* preserve_ssl_host_info */, | |
2044 int /* result */) | |
2045 | |
2046 // Message sent from the renderer to the browser to request that the browser | |
2047 // clear the host cache. Used for debugging/testing. | |
2048 // |result| is the returned status from the operation. | |
2049 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_ClearHostResolverCache, | |
2050 int /* result */) | |
2051 | |
2052 // Message sent from the renderer to the browser to request that the browser | |
2053 // clear the predictor cache. Used for debugging/testing. | |
2054 // |result| is the returned status from the operation. | |
2055 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_ClearPredictorCache, | |
2056 int /* result */) | |
2057 | |
2058 // Message sent from the renderer to the browser to request that the browser | |
2059 // enable or disable spdy. Used for debugging/testing/benchmarking. | |
2060 IPC_MESSAGE_CONTROL1(ViewHostMsg_EnableSpdy, | |
2061 bool /* enable */) | |
2062 | |
2063 // Message sent from the renderer to the browser to request that the browser | |
2064 // cache |data| associated with |url|. | 2029 // cache |data| associated with |url|. |
2065 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, | 2030 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, |
2066 GURL /* url */, | 2031 GURL /* url */, |
2067 double /* expected_response_time */, | 2032 double /* expected_response_time */, |
2068 std::vector<char> /* data */) | 2033 std::vector<char> /* data */) |
2069 | 2034 |
2070 // Updates the content restrictions, i.e. to disable print/copy. | 2035 // Updates the content restrictions, i.e. to disable print/copy. |
2071 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, | 2036 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, |
2072 int /* restrictions */) | 2037 int /* restrictions */) |
2073 | 2038 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2129 int32 /* complete status */) | 2094 int32 /* complete status */) |
2130 | 2095 |
2131 // Request updated information about the client firewall traversal policy. | 2096 // Request updated information about the client firewall traversal policy. |
2132 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2097 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2133 // being sent back. | 2098 // being sent back. |
2134 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2099 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2135 | 2100 |
2136 // Notifies the browser of an event occurring in the media pipeline. | 2101 // Notifies the browser of an event occurring in the media pipeline. |
2137 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2102 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
2138 media::MediaLogEvent /* event */) | 2103 media::MediaLogEvent /* event */) |
OLD | NEW |