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

Side by Side Diff: webkit/fileapi/file_system_callback_dispatcher.h

Issue 10378057: Broker out PPAPI handle duplication (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 months 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 | « ppapi/proxy/proxy_channel.cc ('k') | webkit/fileapi/file_system_callback_dispatcher.cc » ('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 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // Called with an error code when a requested operation has failed. 51 // Called with an error code when a requested operation has failed.
52 virtual void DidFail(base::PlatformFileError error_code) = 0; 52 virtual void DidFail(base::PlatformFileError error_code) = 0;
53 53
54 // Callback for FileWriter's write() call. 54 // Callback for FileWriter's write() call.
55 virtual void DidWrite(int64 bytes, bool complete) = 0; 55 virtual void DidWrite(int64 bytes, bool complete) = 0;
56 56
57 // Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just 57 // Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just
58 // for Pepper. 58 // for Pepper.
59 // The method will be responsible for closing |file|. 59 // The method will be responsible for closing |file|.
60 virtual void DidOpenFile( 60 virtual void DidOpenFile(
61 base::PlatformFile file, 61 base::PlatformFile file);
62 base::ProcessHandle peer_handle);
63 }; 62 };
64 63
65 } // namespace fileapi 64 } // namespace fileapi
66 65
67 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ 66 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/proxy_channel.cc ('k') | webkit/fileapi/file_system_callback_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698