| 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 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 "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
| 10 #include "ipc/ipc_platform_file.h" | 10 #include "ipc/ipc_platform_file.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 base::PlatformFileInfo, | 36 base::PlatformFileInfo, |
| 37 FilePath /* true platform path, where possible */) | 37 FilePath /* true platform path, where possible */) |
| 38 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidReadDirectory, | 38 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidReadDirectory, |
| 39 int /* request_id */, | 39 int /* request_id */, |
| 40 std::vector<base::FileUtilProxy::Entry> /* entries */, | 40 std::vector<base::FileUtilProxy::Entry> /* entries */, |
| 41 bool /* has_more */) | 41 bool /* has_more */) |
| 42 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidWrite, | 42 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidWrite, |
| 43 int /* request_id */, | 43 int /* request_id */, |
| 44 int64 /* byte count */, | 44 int64 /* byte count */, |
| 45 bool /* complete */) | 45 bool /* complete */) |
| 46 IPC_MESSAGE_CONTROL2(FileSystemMsg_DidOpenFile, | 46 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidOpenFile, |
| 47 int /* request_id */, | 47 int /* request_id */, |
| 48 IPC::PlatformFileForTransit) | 48 IPC::PlatformFileForTransit, |
| 49 int64 /* file_size */) |
| 49 IPC_MESSAGE_CONTROL2(FileSystemMsg_DidFail, | 50 IPC_MESSAGE_CONTROL2(FileSystemMsg_DidFail, |
| 50 int /* request_id */, | 51 int /* request_id */, |
| 51 base::PlatformFileError /* error_code */) | 52 base::PlatformFileError /* error_code */) |
| 52 | 53 |
| 53 // File system messages sent from the child process to the browser. | 54 // File system messages sent from the child process to the browser. |
| 54 | 55 |
| 55 // WebFrameClient::openFileSystem() message. | 56 // WebFrameClient::openFileSystem() message. |
| 56 IPC_MESSAGE_CONTROL5(FileSystemHostMsg_Open, | 57 IPC_MESSAGE_CONTROL5(FileSystemHostMsg_Open, |
| 57 int /* request_id */, | 58 int /* request_id */, |
| 58 GURL /* origin_url */, | 59 GURL /* origin_url */, |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 // WebFileWriter::cancel() message. | 126 // WebFileWriter::cancel() message. |
| 126 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite, | 127 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite, |
| 127 int /* request id */, | 128 int /* request id */, |
| 128 int /* id of request to cancel */) | 129 int /* id of request to cancel */) |
| 129 | 130 |
| 130 // Pepper's OpenFile message. | 131 // Pepper's OpenFile message. |
| 131 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_OpenFile, | 132 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_OpenFile, |
| 132 int /* request id */, | 133 int /* request id */, |
| 133 GURL /* file path */, | 134 GURL /* file path */, |
| 134 int /* file flags */) | 135 int /* file flags */) |
| OLD | NEW |