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

Unified Diff: content/common/quota_messages.h

Issue 20015002: Make Platform::queryStorageUsageAndQuota work from worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 b7b45b85e0b6bd9920cec459885b5d53d8c40511..240c919db6f12d9bdf1d708d71b1112077551610 100644
--- a/content/common/quota_messages.h
+++ b/content/common/quota_messages.h
@@ -16,22 +16,26 @@ IPC_ENUM_TRAITS(quota::QuotaStatusCode)
// Quota messages sent from the browser to the child process.
-IPC_MESSAGE_CONTROL2(QuotaMsg_DidGrantStorageQuota,
+IPC_MESSAGE_CONTROL3(QuotaMsg_DidGrantStorageQuota,
+ int /* ipc_thread_id */,
int /* request_id */,
int64 /* granted_quota */)
-IPC_MESSAGE_CONTROL3(QuotaMsg_DidQueryStorageUsageAndQuota,
+IPC_MESSAGE_CONTROL4(QuotaMsg_DidQueryStorageUsageAndQuota,
+ int /* ipc_thread_id */,
int /* request_id */,
int64 /* current_usage */,
int64 /* current_quota */)
-IPC_MESSAGE_CONTROL2(QuotaMsg_DidFail,
+IPC_MESSAGE_CONTROL3(QuotaMsg_DidFail,
+ int /* ipc_thread_id */,
int /* request_id */,
quota::QuotaStatusCode /* error */)
// Quota messages sent from the child process to the browser.
-IPC_MESSAGE_CONTROL3(QuotaHostMsg_QueryStorageUsageAndQuota,
+IPC_MESSAGE_CONTROL4(QuotaHostMsg_QueryStorageUsageAndQuota,
+ int /* ipc_thread_id */,
int /* request_id */,
GURL /* origin_url */,
quota::StorageType /* type */)

Powered by Google App Engine
This is Rietveld 408576698