OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "content/public/common/storage_quota_params.h" | 9 #include "content/public/common/storage_quota_params.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
11 #include "storage/common/quota/quota_types.h" | 11 #include "storage/common/quota/quota_types.h" |
12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
13 | 13 |
14 #define IPC_MESSAGE_START QuotaMsgStart | 14 #define IPC_MESSAGE_START QuotaMsgStart |
15 | 15 |
16 IPC_ENUM_TRAITS_MAX_VALUE(storage::StorageType, storage::kStorageTypeLast) | 16 IPC_ENUM_TRAITS_MAX_VALUE(storage::StorageType, storage::kStorageTypeLast) |
17 IPC_ENUM_TRAITS_MAX_VALUE(storage::QuotaStatusCode, storage::kQuotaStatusLast) | 17 IPC_ENUM_TRAITS_MAX_VALUE(storage::QuotaStatusCode, storage::kQuotaStatusLast) |
18 | 18 |
19 IPC_STRUCT_TRAITS_BEGIN(content::StorageQuotaParams) | 19 IPC_STRUCT_TRAITS_BEGIN(content::StorageQuotaParams) |
20 IPC_STRUCT_TRAITS_MEMBER(render_view_id) | 20 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) |
21 IPC_STRUCT_TRAITS_MEMBER(request_id) | 21 IPC_STRUCT_TRAITS_MEMBER(request_id) |
22 IPC_STRUCT_TRAITS_MEMBER(origin_url) | 22 IPC_STRUCT_TRAITS_MEMBER(origin_url) |
23 IPC_STRUCT_TRAITS_MEMBER(storage_type) | 23 IPC_STRUCT_TRAITS_MEMBER(storage_type) |
24 IPC_STRUCT_TRAITS_MEMBER(requested_size) | 24 IPC_STRUCT_TRAITS_MEMBER(requested_size) |
25 IPC_STRUCT_TRAITS_MEMBER(user_gesture) | 25 IPC_STRUCT_TRAITS_MEMBER(user_gesture) |
26 IPC_STRUCT_TRAITS_END() | 26 IPC_STRUCT_TRAITS_END() |
27 | 27 |
28 // Quota messages sent from the browser to the child process. | 28 // Quota messages sent from the browser to the child process. |
29 | 29 |
30 IPC_MESSAGE_CONTROL3(QuotaMsg_DidGrantStorageQuota, | 30 IPC_MESSAGE_CONTROL3(QuotaMsg_DidGrantStorageQuota, |
(...skipping 12 matching lines...) Expand all Loading... |
43 | 43 |
44 // Quota messages sent from the child process to the browser. | 44 // Quota messages sent from the child process to the browser. |
45 | 45 |
46 IPC_MESSAGE_CONTROL3(QuotaHostMsg_QueryStorageUsageAndQuota, | 46 IPC_MESSAGE_CONTROL3(QuotaHostMsg_QueryStorageUsageAndQuota, |
47 int /* request_id */, | 47 int /* request_id */, |
48 GURL /* origin_url */, | 48 GURL /* origin_url */, |
49 storage::StorageType /* type */) | 49 storage::StorageType /* type */) |
50 | 50 |
51 IPC_MESSAGE_CONTROL1(QuotaHostMsg_RequestStorageQuota, | 51 IPC_MESSAGE_CONTROL1(QuotaHostMsg_RequestStorageQuota, |
52 content::StorageQuotaParams) | 52 content::StorageQuotaParams) |
OLD | NEW |