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

Unified Diff: content/common/fileapi/file_system_messages.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: content/common/fileapi/file_system_messages.h
diff --git a/content/common/fileapi/file_system_messages.h b/content/common/fileapi/file_system_messages.h
index ef2f8bbbe60cf26a76429738290516c15fa60024..7eb3ef304a30af44be642f196370d92d4ea5da29 100644
--- a/content/common/fileapi/file_system_messages.h
+++ b/content/common/fileapi/file_system_messages.h
@@ -10,6 +10,7 @@
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
#include "webkit/fileapi/file_system_types.h"
+#include "webkit/quota/quota_types.h"
#define IPC_MESSAGE_START FileSystemMsgStart
@@ -19,6 +20,7 @@ IPC_STRUCT_TRAITS_BEGIN(base::FileUtilProxy::Entry)
IPC_STRUCT_TRAITS_END()
IPC_ENUM_TRAITS(fileapi::FileSystemType)
+IPC_ENUM_TRAITS(quota::QuotaLimitType)
// File system messages sent from the browser to the child process.
@@ -47,9 +49,10 @@ IPC_MESSAGE_CONTROL3(FileSystemMsg_DidWrite,
int /* request_id */,
int64 /* byte count */,
bool /* complete */)
-IPC_MESSAGE_CONTROL2(FileSystemMsg_DidOpenFile,
+IPC_MESSAGE_CONTROL3(FileSystemMsg_DidOpenFile,
int /* request_id */,
- IPC::PlatformFileForTransit)
+ IPC::PlatformFileForTransit,
+ quota::QuotaLimitType /* quota_policy */)
IPC_MESSAGE_CONTROL2(FileSystemMsg_DidFail,
int /* request_id */,
base::PlatformFileError /* error_code */)

Powered by Google App Engine
This is Rietveld 408576698