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 message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
6 | 6 |
7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
8 #include "webkit/appcache/appcache_interfaces.h" | 8 #include "webkit/appcache/appcache_interfaces.h" |
9 | 9 |
10 #define IPC_MESSAGE_START AppCacheMsgStart | 10 #define IPC_MESSAGE_START AppCacheMsgStart |
(...skipping 25 matching lines...) Expand all Loading... | |
36 // AppCache messages sent from the child process to the browser. | 36 // AppCache messages sent from the child process to the browser. |
37 | 37 |
38 // Informs the browser of a new appcache host. | 38 // Informs the browser of a new appcache host. |
39 IPC_MESSAGE_CONTROL1(AppCacheHostMsg_RegisterHost, | 39 IPC_MESSAGE_CONTROL1(AppCacheHostMsg_RegisterHost, |
40 int /* host_id */) | 40 int /* host_id */) |
41 | 41 |
42 // Informs the browser of an appcache host being destroyed. | 42 // Informs the browser of an appcache host being destroyed. |
43 IPC_MESSAGE_CONTROL1(AppCacheHostMsg_UnregisterHost, | 43 IPC_MESSAGE_CONTROL1(AppCacheHostMsg_UnregisterHost, |
44 int /* host_id */) | 44 int /* host_id */) |
45 | 45 |
46 // Informs the browser about which host caused another to be created. | |
adamk
2011/03/17 23:33:29
grammar nit: s/about/of/
michaeln
2011/03/17 23:59:04
Done.
| |
47 // This can influence which appcache should be utlized for the main | |
adamk
2011/03/17 23:33:29
s/utlized/utilized/
michaeln
2011/03/17 23:59:04
Done.
| |
48 // resource load into the newly created host, so it should be sent | |
49 // prior to the main resource request being initiated. | |
50 IPC_MESSAGE_CONTROL2(AppCacheHostMsg_SetSpawningHostId, | |
51 int /* host_id */, | |
52 int /* spawning_host_id */) | |
53 | |
46 // Initiates the cache selection algorithm for the given host. | 54 // Initiates the cache selection algorithm for the given host. |
47 // This is sent prior to any subresource loads. An AppCacheMsg_CacheSelected | 55 // This is sent prior to any subresource loads. An AppCacheMsg_CacheSelected |
48 // message will be sent in response. | 56 // message will be sent in response. |
49 // 'host_id' indentifies a specific document or worker | 57 // 'host_id' indentifies a specific document or worker |
50 // 'document_url' the url of the main resource | 58 // 'document_url' the url of the main resource |
51 // 'appcache_document_was_loaded_from' the id of the appcache the main | 59 // 'appcache_document_was_loaded_from' the id of the appcache the main |
52 // resource was loaded from or kNoCacheId | 60 // resource was loaded from or kNoCacheId |
53 // 'opt_manifest_url' the manifest url specified in the <html> tag if any | 61 // 'opt_manifest_url' the manifest url specified in the <html> tag if any |
54 IPC_MESSAGE_CONTROL4(AppCacheHostMsg_SelectCache, | 62 IPC_MESSAGE_CONTROL4(AppCacheHostMsg_SelectCache, |
55 int /* host_id */, | 63 int /* host_id */, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
128 // Notifies the renderer of an AppCache logging message. | 136 // Notifies the renderer of an AppCache logging message. |
129 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, | 137 IPC_MESSAGE_CONTROL3(AppCacheMsg_LogMessage, |
130 int /* host_id */, | 138 int /* host_id */, |
131 int /* log_level */, | 139 int /* log_level */, |
132 std::string /* message */) | 140 std::string /* message */) |
133 | 141 |
134 // Notifies the renderer of the fact that AppCache access was blocked. | 142 // Notifies the renderer of the fact that AppCache access was blocked. |
135 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, | 143 IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked, |
136 int /* host_id */, | 144 int /* host_id */, |
137 GURL /* manifest_url */) | 145 GURL /* manifest_url */) |
OLD | NEW |