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

Side by Side Diff: webkit/chromeos/fileapi/remote_file_system_proxy.h

Issue 10541113: Notify CloseFile from Pepper to FileSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added DLOG, DCHECK. Created 8 years, 6 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) 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_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_
6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "webkit/fileapi/file_system_operation_interface.h" 10 #include "webkit/fileapi/file_system_operation_interface.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const GURL& path, 87 const GURL& path,
88 const WritableSnapshotFile& callback) = 0; 88 const WritableSnapshotFile& callback) = 0;
89 89
90 // Opens file for a give |path| with specified |flags| (see 90 // Opens file for a give |path| with specified |flags| (see
91 // base::PlatformFileFlags for details). 91 // base::PlatformFileFlags for details).
92 virtual void OpenFile( 92 virtual void OpenFile(
93 const GURL& path, 93 const GURL& path,
94 int flags, 94 int flags,
95 base::ProcessHandle peer_handle, 95 base::ProcessHandle peer_handle,
96 const FileSystemOperationInterface::OpenFileCallback& callback) = 0; 96 const FileSystemOperationInterface::OpenFileCallback& callback) = 0;
97
98 // Notifies that a file opened by OpenFile (at |path|) is closed.
99 virtual void NotifyCloseFile(const GURL& path) = 0;
100
97 // TODO(zelidrag): More methods to follow as we implement other parts of FSO. 101 // TODO(zelidrag): More methods to follow as we implement other parts of FSO.
98 }; 102 };
99 103
100 } // namespace fileapi 104 } // namespace fileapi
101 105
102 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_ 106 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698