| 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/files/file_util_proxy.h" | 8 #include "base/files/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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 // WebFileSystem::readDirectory() message. | 110 // WebFileSystem::readDirectory() message. |
| 111 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_ReadDirectory, | 111 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_ReadDirectory, |
| 112 int /* request_id */, | 112 int /* request_id */, |
| 113 GURL /* path */) | 113 GURL /* path */) |
| 114 | 114 |
| 115 // WebFileWriter::write() message. | 115 // WebFileWriter::write() message. |
| 116 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_Write, | 116 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_Write, |
| 117 int /* request id */, | 117 int /* request id */, |
| 118 GURL /* file path */, | 118 GURL /* file path */, |
| 119 GURL /* blob URL */, | 119 std::string /* blob UUID */, |
| 120 int64 /* position */) | 120 int64 /* position */) |
| 121 | 121 |
| 122 // WebFileWriter::truncate() message. | 122 // WebFileWriter::truncate() message. |
| 123 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_Truncate, | 123 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_Truncate, |
| 124 int /* request id */, | 124 int /* request id */, |
| 125 GURL /* file path */, | 125 GURL /* file path */, |
| 126 int64 /* length */) | 126 int64 /* length */) |
| 127 | 127 |
| 128 // Pepper's Touch() message. | 128 // Pepper's Touch() message. |
| 129 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_TouchFile, | 129 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_TouchFile, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 GURL /* file path */, | 169 GURL /* file path */, |
| 170 base::FilePath /* platform_path */) | 170 base::FilePath /* platform_path */) |
| 171 | 171 |
| 172 // Pre- and post-update notifications for ppapi implementation. | 172 // Pre- and post-update notifications for ppapi implementation. |
| 173 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, | 173 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, |
| 174 GURL /* file_path */) | 174 GURL /* file_path */) |
| 175 | 175 |
| 176 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, | 176 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, |
| 177 GURL /* file_path */, | 177 GURL /* file_path */, |
| 178 int64 /* delta */) | 178 int64 /* delta */) |
| OLD | NEW |