Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Side by Side Diff: content/common/fileapi/file_system_messages.h

Issue 33053002: Pepper: Move FileIO host from renderer to browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/child/fileapi/file_system_dispatcher.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "ipc/ipc_platform_file.h" 9 #include "ipc/ipc_platform_file.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 int /* request_id */, 157 int /* request_id */,
158 GURL /* path */, 158 GURL /* path */,
159 base::Time /* last_access_time */, 159 base::Time /* last_access_time */,
160 base::Time /* last_modified_time */) 160 base::Time /* last_modified_time */)
161 161
162 // WebFileWriter::cancel() message. 162 // WebFileWriter::cancel() message.
163 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite, 163 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite,
164 int /* request id */, 164 int /* request id */,
165 int /* id of request to cancel */) 165 int /* id of request to cancel */)
166 166
167 // Pepper's OpenFile message.
168 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_OpenPepperFile,
169 int /* request id */,
170 GURL /* file path */,
171 int /* pp_open_flags */)
172
173 // Pepper's NotifyCloseFile message.
174 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_NotifyCloseFile,
175 int /* file_open_id */)
176
177 // WebFileSystem::createSnapshotFileAndReadMetadata() message. 167 // WebFileSystem::createSnapshotFileAndReadMetadata() message.
178 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CreateSnapshotFile, 168 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CreateSnapshotFile,
179 int /* request_id */, 169 int /* request_id */,
180 GURL /* file_path */) 170 GURL /* file_path */)
181 171
182 // Renderers are expected to send this message after having processed 172 // Renderers are expected to send this message after having processed
183 // the FileSystemMsg_DidCreateSnapshotFile message. In particular, 173 // the FileSystemMsg_DidCreateSnapshotFile message. In particular,
184 // after having created a BlobDataHandle backed by the snapshot file. 174 // after having created a BlobDataHandle backed by the snapshot file.
185 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_DidReceiveSnapshotFile, 175 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_DidReceiveSnapshotFile,
186 int /* request_id */) 176 int /* request_id */)
187 177
188 // For Pepper's URL loader. 178 // For Pepper's URL loader.
189 IPC_SYNC_MESSAGE_CONTROL1_1(FileSystemHostMsg_SyncGetPlatformPath, 179 IPC_SYNC_MESSAGE_CONTROL1_1(FileSystemHostMsg_SyncGetPlatformPath,
190 GURL /* file path */, 180 GURL /* file path */,
191 base::FilePath /* platform_path */) 181 base::FilePath /* platform_path */)
192
193 // Pre- and post-update notifications for ppapi implementation.
194 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate,
195 GURL /* file_path */)
196
197 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate,
198 GURL /* file_path */,
199 int64 /* delta */)
OLDNEW
« no previous file with comments | « content/child/fileapi/file_system_dispatcher.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698