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

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

Issue 13508005: Allow RequestOSFileHandle if an app has unlimited storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert most of patch set 2 Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/common/fileapi/file_system_dispatcher.cc
diff --git a/content/common/fileapi/file_system_dispatcher.cc b/content/common/fileapi/file_system_dispatcher.cc
index e80bc04018731121e4f52b33351ca021276c8231..447df4ac283d383257f5a1161d667d25d0905241 100644
--- a/content/common/fileapi/file_system_dispatcher.cc
+++ b/content/common/fileapi/file_system_dispatcher.cc
@@ -351,11 +351,14 @@ void FileSystemDispatcher::OnDidWrite(
}
void FileSystemDispatcher::OnDidOpenFile(
- int request_id, IPC::PlatformFileForTransit file) {
+ int request_id,
+ IPC::PlatformFileForTransit file,
+ quota::QuotaLimitType quota_policy) {
fileapi::FileSystemCallbackDispatcher* dispatcher =
dispatchers_.Lookup(request_id);
DCHECK(dispatcher);
- dispatcher->DidOpenFile(IPC::PlatformFileForTransitToPlatformFile(file));
+ dispatcher->DidOpenFile(IPC::PlatformFileForTransitToPlatformFile(file),
+ quota_policy);
dispatchers_.Remove(request_id);
}

Powered by Google App Engine
This is Rietveld 408576698