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

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: . 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..917561caa84c07263cf10f88e9daa21943bb6cd4
--- /dev/null
+++ b/webkit/common/quota/quota_types.cc
@@ -0,0 +1,20 @@
+// 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"
+
+#include "ipc/ipc_message.h"
+
+namespace quota {
+
+RequestStorageQuotaParams::RequestStorageQuotaParams()
+ : render_view_id(MSG_ROUTING_NONE),
+ 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