1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Multiply-included message file, hence no include guard.
#include "base/basictypes.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_macros.h"
#include "webkit/quota/quota_types.h"
#define IPC_MESSAGE_START QuotaMsgStart
IPC_ENUM_TRAITS(quota::StorageType)
IPC_ENUM_TRAITS(quota::QuotaStatusCode)
// Quota messages sent from the browser to the child process.
IPC_MESSAGE_CONTROL2(QuotaMsg_DidGrantStorageQuota,
int /* request_id */,
int64 /* granted_quota */)
IPC_MESSAGE_CONTROL3(QuotaMsg_DidQueryStorageUsageAndQuota,
int /* request_id */,
int64 /* current_usage */,
int64 /* current_quota */)
IPC_MESSAGE_CONTROL2(QuotaMsg_DidFail,
int /* request_id */,
quota::QuotaStatusCode /* error */)
// Quota messages sent from the child process to the browser.
IPC_MESSAGE_CONTROL3(QuotaHostMsg_QueryStorageUsageAndQuota,
int /* request_id */,
GURL /* origin_url */,
quota::StorageType /* type */)
IPC_MESSAGE_CONTROL5(QuotaHostMsg_RequestStorageQuota,
int /* render_view_id */,
int /* request_id */,
GURL /* origin_url */,
quota::StorageType /* type */,
int64 /* requested_size */)
|