diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-29 06:25:53 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-29 06:25:53 +0000 |
commit | 666bcc5ce33b1be92429b3e9e23e1c2fa47ec0e4 (patch) | |
tree | 5a70b0ac320c4b1561764b9ffc60735419a61072 /content/common/quota_messages.h | |
parent | 8ca87726c96e1b89fee43afa224b8d3da2d5d399 (diff) | |
download | chromium_src-666bcc5ce33b1be92429b3e9e23e1c2fa47ec0e4.zip chromium_src-666bcc5ce33b1be92429b3e9e23e1c2fa47ec0e4.tar.gz chromium_src-666bcc5ce33b1be92429b3e9e23e1c2fa47ec0e4.tar.bz2 |
Cleanup: Make quota dispatcher code independent from WebKit types
Preparing for pepper quota support.
Also adding NotifyStorageModified IPC method, which is intended to be used by pepper FileIO code.
BUG=for 86556
TEST=existing tests should pass
Review URL: http://codereview.chromium.org/7438001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/quota_messages.h')
-rw-r--r-- | content/common/quota_messages.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/content/common/quota_messages.h b/content/common/quota_messages.h index 54a3648..d2965e2 100644 --- a/content/common/quota_messages.h +++ b/content/common/quota_messages.h @@ -6,13 +6,12 @@ #include "base/basictypes.h" #include "ipc/ipc_message_macros.h" -#include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaError.h" -#include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h" +#include "webkit/quota/quota_types.h" #define IPC_MESSAGE_START QuotaMsgStart -IPC_ENUM_TRAITS(WebKit::WebStorageQuotaType) -IPC_ENUM_TRAITS(WebKit::WebStorageQuotaError) +IPC_ENUM_TRAITS(quota::StorageType) +IPC_ENUM_TRAITS(quota::QuotaStatusCode) // Quota messages sent from the browser to the child process. @@ -27,18 +26,18 @@ IPC_MESSAGE_CONTROL3(QuotaMsg_DidQueryStorageUsageAndQuota, IPC_MESSAGE_CONTROL2(QuotaMsg_DidFail, int /* request_id */, - WebKit::WebStorageQuotaError /* error */) + quota::QuotaStatusCode /* error */) // Quota messages sent from the child process to the browser. IPC_MESSAGE_CONTROL3(QuotaHostMsg_QueryStorageUsageAndQuota, int /* request_id */, GURL /* origin_url */, - WebKit::WebStorageQuotaType /* type */) + quota::StorageType /* type */) IPC_MESSAGE_CONTROL5(QuotaHostMsg_RequestStorageQuota, int /* render_view_id */, int /* request_id */, GURL /* origin_url */, - WebKit::WebStorageQuotaType /* type */, + quota::StorageType /* type */, int64 /* requested_size */) |