Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Multiply-included message file, hence no include guard. | |
| 6 | |
| 7 #include "ipc/ipc_message_macros.h" | |
| 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaError. h" | |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h " | |
| 10 | |
| 11 #define IPC_MESSAGE_START QuotaMsgStart | |
| 12 | |
| 13 IPC_ENUM_TRAITS(WebKit::WebStorageQuotaType) | |
| 14 IPC_ENUM_TRAITS(WebKit::WebStorageQuotaError) | |
| 15 | |
| 16 // Quota messages sent from the browser to the child process. | |
| 17 | |
| 18 IPC_MESSAGE_CONTROL3(QuotaMsg_DidHandleRequestStorageQuota, | |
| 19 int /* request_id */, | |
| 20 WebKit::WebStorageQuotaError /* error */, | |
| 21 int64 /* granted_quota */); | |
| 22 | |
| 23 IPC_MESSAGE_CONTROL4(QuotaMsg_DidHandleQueryUsageAndQuotaQuery, | |
|
ericu
2011/04/08 03:31:18
The last Query seems redundant. But if you don't
kinuko
2011/04/08 09:02:53
Renamed this to DidQueryStorageUsageAndQuota too.
| |
| 24 int /* request_id */, | |
| 25 WebKit::WebStorageQuotaError /* error */, | |
| 26 int64 /* current_usage */, | |
| 27 int64 /* current_quota */); | |
| 28 | |
| 29 // Quota messages sent from the child process to the browser. | |
| 30 | |
| 31 IPC_MESSAGE_CONTROL3(QuotaHostMsg_QueryStorageUsageAndQuota, | |
| 32 int /* request_id */, | |
| 33 GURL /* origin_url */, | |
| 34 WebKit::WebStorageQuotaType /* type */); | |
| 35 | |
| 36 IPC_MESSAGE_CONTROL4(QuotaHostMsg_RequestStorageQuota, | |
| 37 int /* request_id */, | |
| 38 GURL /* origin_url */, | |
| 39 WebKit::WebStorageQuotaType /* type */, | |
| 40 int64 /* requesting_size */); | |
|
ericu
2011/04/08 03:31:18
s/requesting/requested/
kinuko
2011/04/08 09:02:53
Done.
| |
| OLD | NEW |