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

Side by Side Diff: content/common/quota_messages.h

Issue 6811022: Add IPC plumbing code for Quota API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments reflected Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/quota_dispatcher_dummy.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 "base/basictypes.h"
8 #include "ipc/ipc_message_macros.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaError. h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h "
11
12 #define IPC_MESSAGE_START QuotaMsgStart
13
14 IPC_ENUM_TRAITS(WebKit::WebStorageQuotaType)
15 IPC_ENUM_TRAITS(WebKit::WebStorageQuotaError)
16
17 // Quota messages sent from the browser to the child process.
18
19 IPC_MESSAGE_CONTROL2(QuotaMsg_DidGrantStorageQuota,
20 int /* request_id */,
21 int64 /* granted_quota */)
22
23 IPC_MESSAGE_CONTROL3(QuotaMsg_DidQueryStorageUsageAndQuota,
24 int /* request_id */,
25 int64 /* current_usage */,
26 int64 /* current_quota */)
27
28 IPC_MESSAGE_CONTROL2(QuotaMsg_DidFail,
29 int /* request_id */,
30 WebKit::WebStorageQuotaError /* error */)
31
32 // Quota messages sent from the child process to the browser.
33
34 IPC_MESSAGE_CONTROL3(QuotaHostMsg_QueryStorageUsageAndQuota,
35 int /* request_id */,
36 GURL /* origin_url */,
37 WebKit::WebStorageQuotaType /* type */)
38
39 IPC_MESSAGE_CONTROL4(QuotaHostMsg_RequestStorageQuota,
40 int /* request_id */,
41 GURL /* origin_url */,
42 WebKit::WebStorageQuotaType /* type */,
43 int64 /* requested_size */)
OLDNEW
« no previous file with comments | « content/common/quota_dispatcher_dummy.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698