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

Unified Diff: webkit/fileapi/file_system_callback_dispatcher.h

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: webkit/fileapi/file_system_callback_dispatcher.h
diff --git a/webkit/fileapi/file_system_callback_dispatcher.h b/webkit/fileapi/file_system_callback_dispatcher.h
index bf5e7ea41dd9a4dbe7c4845417304938bda93ccb..41d7327d4a83b266964b40a243b1b6dbfd13d54e 100644
--- a/webkit/fileapi/file_system_callback_dispatcher.h
+++ b/webkit/fileapi/file_system_callback_dispatcher.h
@@ -11,6 +11,7 @@
#include "base/files/file_util_proxy.h"
#include "base/platform_file.h"
#include "base/process.h"
+#include "webkit/quota/quota_types.h"
#include "webkit/storage/webkit_storage_export.h"
class GURL;
@@ -63,8 +64,8 @@ class WEBKIT_STORAGE_EXPORT FileSystemCallbackDispatcher {
// Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just
// for Pepper.
// The method will be responsible for closing |file|.
- virtual void DidOpenFile(
- base::PlatformFile file);
+ virtual void DidOpenFile(base::PlatformFile file,
+ quota::QuotaLimitType quota_policy);
};
} // namespace fileapi

Powered by Google App Engine
This is Rietveld 408576698