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

Side by Side Diff: webkit/chromeos/fileapi/remote_file_system_operation.cc

Issue 10541113: Notify CloseFile from Pepper to FileSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 #include "webkit/chromeos/fileapi/remote_file_system_operation.h" 5 #include "webkit/chromeos/fileapi/remote_file_system_operation.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 NOTIMPLEMENTED(); 124 NOTIMPLEMENTED();
125 } 125 }
126 126
127 void RemoteFileSystemOperation::OpenFile(const GURL& path, 127 void RemoteFileSystemOperation::OpenFile(const GURL& path,
128 int file_flags, 128 int file_flags,
129 base::ProcessHandle peer_handle, 129 base::ProcessHandle peer_handle,
130 const OpenFileCallback& callback) { 130 const OpenFileCallback& callback) {
131 NOTIMPLEMENTED(); 131 NOTIMPLEMENTED();
132 } 132 }
133 133
134 void RemoteFileSystemOperation::NotifyCloseFile(
135 const GURL& path,
136 const StatusCallback& callback) {
137 NOTIMPLEMENTED();
138 }
139
134 fileapi::FileSystemOperation* 140 fileapi::FileSystemOperation*
135 RemoteFileSystemOperation::AsFileSystemOperation() { 141 RemoteFileSystemOperation::AsFileSystemOperation() {
136 NOTIMPLEMENTED(); 142 NOTIMPLEMENTED();
137 return NULL; 143 return NULL;
138 } 144 }
139 145
140 void RemoteFileSystemOperation::CreateSnapshotFile( 146 void RemoteFileSystemOperation::CreateSnapshotFile(
141 const GURL& path, 147 const GURL& path,
142 const SnapshotFileCallback& callback) { 148 const SnapshotFileCallback& callback) {
143 DCHECK(SetPendingOperationType(kOperationCreateSnapshotFile)); 149 DCHECK(SetPendingOperationType(kOperationCreateSnapshotFile));
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 void RemoteFileSystemOperation::DidCreateSnapshotFile( 205 void RemoteFileSystemOperation::DidCreateSnapshotFile(
200 const SnapshotFileCallback& callback, 206 const SnapshotFileCallback& callback,
201 base::PlatformFileError result, 207 base::PlatformFileError result,
202 const base::PlatformFileInfo& file_info, 208 const base::PlatformFileInfo& file_info,
203 const FilePath& platform_path, 209 const FilePath& platform_path,
204 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) { 210 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
205 callback.Run(result, file_info, platform_path, file_ref); 211 callback.Run(result, file_info, platform_path, file_ref);
206 } 212 }
207 213
208 } // namespace chromeos 214 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698