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

Unified Diff: webkit/common/quota/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: 3 try Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: webkit/common/quota/quota_types.h
diff --git a/webkit/common/quota/quota_types.h b/webkit/common/quota/quota_types.h
index 6cb45c9d7f8488cd2b2a9853a9a16cf0b3612ce5..ddccaf4fc60013945e0583c7c3e1359d744266e6 100644
--- a/webkit/common/quota/quota_types.h
+++ b/webkit/common/quota/quota_types.h
@@ -5,7 +5,9 @@
#ifndef WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_
#define WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_
+#include "url/gurl.h"
#include "webkit/common/quota/quota_status_code.h"
+#include "webkit/common/webkit_storage_common_export.h"
namespace quota {
@@ -23,6 +25,18 @@ enum QuotaLimitType {
kQuotaLimitTypeUnlimited,
};
+struct WEBKIT_STORAGE_COMMON_EXPORT RequestStorageQuotaParams {
+ RequestStorageQuotaParams();
+ ~RequestStorageQuotaParams();
+
+ int render_view_id;
+ int request_id;
+ GURL origin_url;
+ quota::StorageType storage_type;
+ uint64 requested_size;
+ bool user_gesture;
+};
+
} // namespace quota
#endif // WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698