OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Defines messages between the browser and worker process, as well as between | 5 // Defines messages between the browser and worker process, as well as between |
6 // the renderer and worker process. | 6 // the renderer and worker process. |
7 | 7 |
8 // Multiply-included message file, hence no include guard. | 8 // Multiply-included message file, hence no include guard. |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // allowed. | 60 // allowed. |
61 IPC_SYNC_MESSAGE_CONTROL5_1(WorkerProcessHostMsg_AllowDatabase, | 61 IPC_SYNC_MESSAGE_CONTROL5_1(WorkerProcessHostMsg_AllowDatabase, |
62 int /* worker_route_id */, | 62 int /* worker_route_id */, |
63 GURL /* origin url */, | 63 GURL /* origin url */, |
64 base::string16 /* database name */, | 64 base::string16 /* database name */, |
65 base::string16 /* database display name */, | 65 base::string16 /* database display name */, |
66 unsigned long /* estimated size */, | 66 unsigned long /* estimated size */, |
67 bool /* result */) | 67 bool /* result */) |
68 | 68 |
69 // Sent by the worker process to check whether access to file system is allowed. | 69 // Sent by the worker process to check whether access to file system is allowed. |
70 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_AllowFileSystem, | 70 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_RequestFileSystemAccessSync, |
71 int /* worker_route_id */, | 71 int /* worker_route_id */, |
72 GURL /* origin url */, | 72 GURL /* origin url */, |
73 bool /* result */) | 73 bool /* result */) |
74 | 74 |
75 // Sent by the worker process to check whether access to IndexedDB is allowed. | 75 // Sent by the worker process to check whether access to IndexedDB is allowed. |
76 IPC_SYNC_MESSAGE_CONTROL3_1(WorkerProcessHostMsg_AllowIndexedDB, | 76 IPC_SYNC_MESSAGE_CONTROL3_1(WorkerProcessHostMsg_AllowIndexedDB, |
77 int /* worker_route_id */, | 77 int /* worker_route_id */, |
78 GURL /* origin url */, | 78 GURL /* origin url */, |
79 base::string16 /* database name */, | 79 base::string16 /* database name */, |
80 bool /* result */) | 80 bool /* result */) |
(...skipping 26 matching lines...) Expand all Loading... |
107 | 107 |
108 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerScriptLoaded, | 108 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerScriptLoaded, |
109 int /* worker_route_id */) | 109 int /* worker_route_id */) |
110 | 110 |
111 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerScriptLoadFailed, | 111 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerScriptLoadFailed, |
112 int /* worker_route_id */) | 112 int /* worker_route_id */) |
113 | 113 |
114 IPC_MESSAGE_CONTROL2(WorkerHostMsg_WorkerConnected, | 114 IPC_MESSAGE_CONTROL2(WorkerHostMsg_WorkerConnected, |
115 int /* message_port_id */, | 115 int /* message_port_id */, |
116 int /* worker_route_id */) | 116 int /* worker_route_id */) |
OLD | NEW |