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

Unified Diff: content/common/quota_messages.h

Issue 7438001: Cleanup: Make quota dispatcher code independent from WebKit types (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/common/quota_messages.h
diff --git a/content/common/quota_messages.h b/content/common/quota_messages.h
index 54a3648222f8110ede0dca5f8e3115299a1d545d..d2965e261b3a15bbfae0fe2c81775d3745af97d3 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 */)

Powered by Google App Engine
This is Rietveld 408576698