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

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

Issue 6864040: Fixed file/directory url resolution for external mount point provider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
OLDNEW
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 #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 <vector> 8 #include <vector>
9 9
10 #include "base/file_util_proxy.h" 10 #include "base/file_util_proxy.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual void DidFail(base::PlatformFileError error_code) = 0; 51 virtual void DidFail(base::PlatformFileError error_code) = 0;
52 52
53 // Callback for FileWriter's write() call. 53 // Callback for FileWriter's write() call.
54 virtual void DidWrite(int64 bytes, bool complete) = 0; 54 virtual void DidWrite(int64 bytes, bool complete) = 0;
55 55
56 // Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just 56 // Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just
57 // for Pepper. 57 // for Pepper.
58 virtual void DidOpenFile( 58 virtual void DidOpenFile(
59 base::PlatformFile file, 59 base::PlatformFile file,
60 base::ProcessHandle peer_handle); 60 base::ProcessHandle peer_handle);
61
62 // Callback for the real local platform path lookup, where possible.
63 // This isn't in WebFileSystemCallbacks.
64 virtual void DidGetLocalPath(const FilePath& local_path);
65
61 }; 66 };
62 67
63 } // namespace fileapi 68 } // namespace fileapi
64 69
65 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ 70 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CALLBACK_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698