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

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: . 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
« no previous file with comments | « content/public/browser/quota_permission_context.h ('k') | webkit/common/quota/quota_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
kinuko 2014/03/04 01:55:40 It feels having this in content/common/quota is mo
Greg Billock 2014/03/04 18:49:37 So in the messages file itself? I can do that.
kinuko 2014/03/05 01:07:35 I meant another file in content/common, but the cu
Greg Billock 2014/03/05 18:20:31 Done. I'll leave it here, then, esp. if these are
+ RequestStorageQuotaParams();
+ ~RequestStorageQuotaParams();
+
+ int render_view_id;
kinuko 2014/03/04 01:49:09 Strictly speaking referring render_view_id in webk
Greg Billock 2014/03/04 18:49:37 ok.
+ int request_id;
+ GURL origin_url;
+ quota::StorageType storage_type;
kinuko 2014/03/04 01:49:09 nit: no need of quota:: here
Greg Billock 2014/03/04 18:49:37 Done.
+ uint64 requested_size;
+ bool user_gesture;
kinuko 2014/03/04 01:55:40 It's not obvious what does this flag means here--
Greg Billock 2014/03/04 18:49:37 Basically that the message originated in the conte
+};
+
} // namespace quota
#endif // WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_
« no previous file with comments | « content/public/browser/quota_permission_context.h ('k') | webkit/common/quota/quota_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698