OLD | NEW |
(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_ |
OLD | NEW |