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

Unified Diff: webkit/common/quota/quota_types.cc

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.cc
diff --git a/webkit/common/quota/quota_types.cc b/webkit/common/quota/quota_types.cc
new file mode 100644
index 0000000000000000000000000000000000000000..dc1702ac19c01ec32ce5a44fd2c47863a5691eb4
--- /dev/null
+++ b/webkit/common/quota/quota_types.cc
@@ -0,0 +1,18 @@
+// Copyright 2014 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.
+
+#include "webkit/common/quota/quota_types.h"
+
+namespace quota {
+
+RequestStorageQuotaParams::RequestStorageQuotaParams()
+ : render_view_id(-1),
nasko 2014/03/03 20:00:32 Use MSG_ROUTING_NONE, which is the proper value to
Greg Billock 2014/03/03 22:41:47 Done.
+ request_id(-1),
+ storage_type(kStorageTypeTemporary),
+ requested_size(0),
+ user_gesture(false) {}
+
+RequestStorageQuotaParams::~RequestStorageQuotaParams() {}
+
+} // namespace quota

Powered by Google App Engine
This is Rietveld 408576698