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

Unified Diff: content/public/common/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, 9 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: content/public/common/quota_types.cc
diff --git a/content/public/common/quota_types.cc b/content/public/common/quota_types.cc
new file mode 100644
index 0000000000000000000000000000000000000000..fdf2bbba3e8a3048ba1e85829c75d53f950033fe
--- /dev/null
+++ b/content/public/common/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 "content/public/common/quota_types.h"
+
+#include "ipc/ipc_message.h"
+
+namespace content {
+
+RequestStorageQuotaParams::RequestStorageQuotaParams()
jam 2014/03/27 22:51:49 can you try inlining this and removing the cc file
Greg Billock 2014/03/28 17:38:03 Done.
+ : render_view_id(MSG_ROUTING_NONE),
+ request_id(-1),
+ storage_type(quota::kStorageTypeTemporary),
+ requested_size(0),
+ user_gesture(false) {}
+
+RequestStorageQuotaParams::~RequestStorageQuotaParams() {}
jam 2014/03/27 22:51:49 also drop this, it's not needed
Greg Billock 2014/03/28 17:38:03 Done.
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698