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 // IPC messages for the file system. | 5 // IPC messages for the file system. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/file_util_proxy.h" | 8 #include "base/file_util_proxy.h" |
9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite, | 126 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite, |
127 int /* request id */, | 127 int /* request id */, |
128 int /* id of request to cancel */) | 128 int /* id of request to cancel */) |
129 | 129 |
130 // Pepper's OpenFile message. | 130 // Pepper's OpenFile message. |
131 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_OpenFile, | 131 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_OpenFile, |
132 int /* request id */, | 132 int /* request id */, |
133 GURL /* file path */, | 133 GURL /* file path */, |
134 int /* file flags */) | 134 int /* file flags */) |
135 | 135 |
| 136 // Pepper's NotifyCloseFile message. |
| 137 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_NotifyCloseFile, |
| 138 GURL /* file path */) |
| 139 |
136 // WebFileSystem::createSnapshotFileAndReadMetadata() message. | 140 // WebFileSystem::createSnapshotFileAndReadMetadata() message. |
137 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_CreateSnapshotFile, | 141 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_CreateSnapshotFile, |
138 int /* request_id */, | 142 int /* request_id */, |
139 GURL /* blob_url */, | 143 GURL /* blob_url */, |
140 GURL /* file_path */) | 144 GURL /* file_path */) |
141 | 145 |
142 // For Pepper's URL loader. | 146 // For Pepper's URL loader. |
143 IPC_SYNC_MESSAGE_CONTROL1_1(FileSystemHostMsg_SyncGetPlatformPath, | 147 IPC_SYNC_MESSAGE_CONTROL1_1(FileSystemHostMsg_SyncGetPlatformPath, |
144 GURL /* file path */, | 148 GURL /* file path */, |
145 FilePath /* platform_path */) | 149 FilePath /* platform_path */) |
146 | 150 |
147 // Pre- and post-update notifications for ppapi implementation. | 151 // Pre- and post-update notifications for ppapi implementation. |
148 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, | 152 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, |
149 GURL /* file_path */) | 153 GURL /* file_path */) |
150 | 154 |
151 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, | 155 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, |
152 GURL /* file_path */, | 156 GURL /* file_path */, |
153 int64 /* delta */) | 157 int64 /* delta */) |
OLD | NEW |