| Index: content/public/common/quota_types.h
|
| diff --git a/content/public/common/quota_types.h b/content/public/common/quota_types.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..77e60454eda90d9f74a4cdeb4276d08e2dd42cf1
|
| --- /dev/null
|
| +++ b/content/public/common/quota_types.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2013 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.
|
| +
|
| +#ifndef CONTENT_PUBLIC_COMMON_QUOTA_TYPES_H_
|
| +#define CONTENT_PUBLIC_COMMON_QUOTA_TYPES_H_
|
| +
|
| +#include "content/common/content_export.h"
|
| +#include "url/gurl.h"
|
| +#include "webkit/common/quota/quota_types.h"
|
| +
|
| +namespace content {
|
| +
|
| +// Parameters from the renderer to the browser process on a
|
| +// RequestStorageQuota call.
|
| +struct CONTENT_EXPORT RequestStorageQuotaParams {
|
| + RequestStorageQuotaParams();
|
| + ~RequestStorageQuotaParams();
|
| +
|
| + int render_view_id;
|
| + int request_id;
|
| + GURL origin_url;
|
| + quota::StorageType storage_type;
|
| + uint64 requested_size;
|
| +
|
| + // Request was made in the context of a user gesture.
|
| + bool user_gesture;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_COMMON_QUOTA_TYPES_H_
|
|
|