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 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1873 int /* message_id */) | 1873 int /* message_id */) |
1874 | 1874 |
1875 //--------------------------------------------------------------------------- | 1875 //--------------------------------------------------------------------------- |
1876 // Request for cryptographic operation messages: | 1876 // Request for cryptographic operation messages: |
1877 // These are messages from the renderer to the browser to perform a | 1877 // These are messages from the renderer to the browser to perform a |
1878 // cryptographic operation. | 1878 // cryptographic operation. |
1879 | 1879 |
1880 // Asks the browser process to generate a keypair for grabbing a client | 1880 // Asks the browser process to generate a keypair for grabbing a client |
1881 // certificate from a CA (<keygen> tag), and returns the signed public | 1881 // certificate from a CA (<keygen> tag), and returns the signed public |
1882 // key and challenge string. | 1882 // key and challenge string. |
1883 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, | 1883 IPC_SYNC_MESSAGE_ROUTED3_1(ViewHostMsg_Keygen, |
1884 uint32 /* key size index */, | 1884 uint32 /* key size index */, |
1885 std::string /* challenge string */, | 1885 std::string /* challenge string */, |
1886 GURL /* URL of requestor */, | 1886 GURL /* URL of requestor */, |
1887 std::string /* signed public key and challenge */) | 1887 std::string /* signed public key and challenge */) |
1888 | 1888 |
1889 // Message sent from the renderer to the browser to request that the browser | 1889 // Message sent from the renderer to the browser to request that the browser |
1890 // close all sockets. Used for debugging/testing. | 1890 // close all sockets. Used for debugging/testing. |
1891 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections) | 1891 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections) |
1892 | 1892 |
1893 // Message sent from the renderer to the browser to request that the browser | 1893 // Message sent from the renderer to the browser to request that the browser |
1894 // enable or disable the cache. Used for debugging/testing. | 1894 // enable or disable the cache. Used for debugging/testing. |
1895 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, | 1895 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, |
1896 bool /* enabled */) | 1896 bool /* enabled */) |
1897 | 1897 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1954 | 1954 |
1955 // Stores new inspector setting in the profile. | 1955 // Stores new inspector setting in the profile. |
1956 // TODO(jam): this should be in the chrome module | 1956 // TODO(jam): this should be in the chrome module |
1957 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | 1957 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
1958 std::string, /* key */ | 1958 std::string, /* key */ |
1959 std::string /* value */) | 1959 std::string /* value */) |
1960 | 1960 |
1961 // Send back a string to be recorded by UserMetrics. | 1961 // Send back a string to be recorded by UserMetrics. |
1962 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1962 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1963 std::string /* action */) | 1963 std::string /* action */) |
OLD | NEW |