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

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

Issue 15564008: Migrate the IndexedDB backend from Blink to Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Coding style fixes Created 7 years, 7 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/browser/indexed_db/indexed_db_metadata.cc
diff --git a/content/browser/indexed_db/indexed_db_metadata.cc b/content/browser/indexed_db/indexed_db_metadata.cc
new file mode 100644
index 0000000000000000000000000000000000000000..32a7ae5164eb461bc3b74f7e369486b837afe2d2
--- /dev/null
+++ b/content/browser/indexed_db/indexed_db_metadata.cc
@@ -0,0 +1,39 @@
+// Copyright (c) 2013 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_metadata.h"
+
+namespace content {
+
+IndexedDBObjectStoreMetadata::IndexedDBObjectStoreMetadata(
+ const string16& name,
+ int64_t id,
+ const IndexedDBKeyPath& key_path,
+ bool auto_increment,
+ int64_t max_index_id)
+ : name(name),
+ id(id),
+ key_path(key_path),
+ auto_increment(auto_increment),
+ max_index_id(max_index_id) {}
+
+IndexedDBObjectStoreMetadata::IndexedDBObjectStoreMetadata() {}
+IndexedDBObjectStoreMetadata::~IndexedDBObjectStoreMetadata() {}
+
+IndexedDBDatabaseMetadata::IndexedDBDatabaseMetadata()
+ : int_version(NO_INT_VERSION) {}
+IndexedDBDatabaseMetadata::IndexedDBDatabaseMetadata(
+ const string16& name,
+ int64_t id,
+ const string16& version,
+ int64_t int_version,
+ int64_t max_object_store_id)
+ : name(name),
+ id(id),
+ version(version),
+ int_version(int_version),
+ max_object_store_id(max_object_store_id) {}
+
+IndexedDBDatabaseMetadata::~IndexedDBDatabaseMetadata() {}
+}
jamesr 2013/05/22 18:59:44 // namespace content
jsbell 2013/05/22 22:21:14 Done.

Powered by Google App Engine
This is Rietveld 408576698