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

Unified Diff: content/browser/file_system/file_system_dispatcher_host.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/browser/file_system/file_system_dispatcher_host.cc
diff --git a/content/browser/file_system/file_system_dispatcher_host.cc b/content/browser/file_system/file_system_dispatcher_host.cc
index e4065e1dade51138fd2486121df79d28345a3008..920683e48c2f454f94ea98d8b2857dc71bff43e3 100644
--- a/content/browser/file_system/file_system_dispatcher_host.cc
+++ b/content/browser/file_system/file_system_dispatcher_host.cc
@@ -75,14 +75,15 @@ class BrowserFileSystemCallbackDispatcher
virtual void DidOpenFile(
base::PlatformFile file,
- base::ProcessHandle peer_handle) {
+ base::ProcessHandle peer_handle,
+ int64 file_size) {
IPC::PlatformFileForTransit file_for_transit =
file != base::kInvalidPlatformFileValue ?
IPC::GetFileHandleForProcess(file, peer_handle, true) :
IPC::InvalidPlatformFileForTransit();
dispatcher_host_->Send(new FileSystemMsg_DidOpenFile(
- request_id_, file_for_transit));
+ request_id_, file_for_transit, file_size));
}
private:
« no previous file with comments | « no previous file | content/common/file_system/file_system_dispatcher.h » ('j') | content/renderer/pepper_plugin_delegate_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698