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

Unified Diff: content/common/file_system/file_system_dispatcher.cc

Issue 7433006: Pepper quota support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/common/file_system/file_system_dispatcher.cc
diff --git a/content/common/file_system/file_system_dispatcher.cc b/content/common/file_system/file_system_dispatcher.cc
index eed8f10d20427d1499301a0d2a348a982bce8ef3..ab391c25185b7a54ccc452a92ec79028ff43d7cc 100644
--- a/content/common/file_system/file_system_dispatcher.cc
+++ b/content/common/file_system/file_system_dispatcher.cc
@@ -292,11 +292,12 @@ void FileSystemDispatcher::OnDidWrite(
}
void FileSystemDispatcher::OnDidOpenFile(
- int request_id, IPC::PlatformFileForTransit file) {
+ int request_id, IPC::PlatformFileForTransit file,
+ int64 file_size) {
fileapi::FileSystemCallbackDispatcher* dispatcher =
dispatchers_.Lookup(request_id);
DCHECK(dispatcher);
dispatcher->DidOpenFile(IPC::PlatformFileForTransitToPlatformFile(file),
- base::kNullProcessHandle);
+ base::kNullProcessHandle, file_size);
dispatchers_.Remove(request_id);
}

Powered by Google App Engine
This is Rietveld 408576698