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

Side by Side Diff: content/public/common/quota_types.h

Issue 185793004: [Quota] Pass user gesture state with quota request message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
OLDNEW
(Empty)
1 // Copyright 2013 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 #ifndef CONTENT_PUBLIC_COMMON_QUOTA_TYPES_H_
6 #define CONTENT_PUBLIC_COMMON_QUOTA_TYPES_H_
7
8 #include "content/common/content_export.h"
9 #include "url/gurl.h"
10 #include "webkit/common/quota/quota_types.h"
11
12 namespace content {
13
14 // Parameters from the renderer to the browser process on a
15 // RequestStorageQuota call.
16 struct CONTENT_EXPORT RequestStorageQuotaParams {
17 RequestStorageQuotaParams();
18 ~RequestStorageQuotaParams();
19
20 int render_view_id;
21 int request_id;
22 GURL origin_url;
23 quota::StorageType storage_type;
24 uint64 requested_size;
25
26 // Request was made in the context of a user gesture.
27 bool user_gesture;
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_PUBLIC_COMMON_QUOTA_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698