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

Unified Diff: content/browser/indexed_db/indexed_db_value.cc

Issue 197753011: Add IndexedDBValue wrapper class to group blob info with bits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yet still happier clang, I hope. 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
« no previous file with comments | « content/browser/indexed_db/indexed_db_value.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_value.cc
diff --git a/content/browser/indexed_db/indexed_db_value.cc b/content/browser/indexed_db/indexed_db_value.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c982d0cf99572fb7c96426ba32ef13a8a6c8a2aa
--- /dev/null
+++ b/content/browser/indexed_db/indexed_db_value.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 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/browser/indexed_db/indexed_db_value.h"
+
+#include "base/logging.h"
+
+namespace content {
+
+IndexedDBValue::IndexedDBValue() {}
+IndexedDBValue::IndexedDBValue(
+ const std::string& input_bits,
+ const std::vector<IndexedDBBlobInfo>& input_blob_info)
+ : bits(input_bits), blob_info(input_blob_info) {
+ DCHECK(!input_blob_info.size() || input_bits.size());
+}
+IndexedDBValue::~IndexedDBValue() {}
+
+} // namespace content
« no previous file with comments | « content/browser/indexed_db/indexed_db_value.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698