1 // Copyright 2014 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.
5 #ifndef CONTENT_PUBLIC_COMMON_STORAGE_QUOTA_PARAMS_H_
6 #define CONTENT_PUBLIC_COMMON_STORAGE_QUOTA_PARAMS_H_
8 #include "content/common/content_export.h"
9 #include "ipc/ipc_message.h"
10 #include "storage/common/quota/quota_types.h"
15 // Parameters from the renderer to the browser process on a
16 // RequestStorageQuota call.
17 struct CONTENT_EXPORT StorageQuotaParams
{
19 : render_view_id(MSG_ROUTING_NONE
),
21 storage_type(storage::kStorageTypeTemporary
),
23 user_gesture(false) {}
28 storage::StorageType storage_type
;
29 uint64 requested_size
;
31 // Request was made in the context of a user gesture.
35 } // namespace content
37 #endif // CONTENT_PUBLIC_COMMON_STORAGE_QUOTA_PARAMS_H_