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

Unified Diff: content/browser/indexed_db/indexed_db.h

Issue 15564008: Migrate the IndexedDB backend from Blink to Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update to ToT again 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
« no previous file with comments | « content/browser/indexed_db/DEPS ('k') | content/browser/indexed_db/indexed_db_backing_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db.h
diff --git a/content/browser/indexed_db/indexed_db.h b/content/browser/indexed_db/indexed_db.h
new file mode 100644
index 0000000000000000000000000000000000000000..3714d40af338b3651393cf12e711b886181ecb2d
--- /dev/null
+++ b/content/browser/indexed_db/indexed_db.h
@@ -0,0 +1,34 @@
+// 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.
+
+#ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_H_
+#define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_H_
+
+namespace content {
+
+namespace indexed_db {
+
+enum TransactionMode {
+ TRANSACTION_READ_ONLY = 0,
+ TRANSACTION_READ_WRITE = 1,
+ TRANSACTION_VERSION_CHANGE = 2
+};
+
+enum CursorDirection {
+ CURSOR_NEXT = 0,
+ CURSOR_NEXT_NO_DUPLICATE = 1,
+ CURSOR_PREV = 2,
+ CURSOR_PREV_NO_DUPLICATE = 3,
+};
+
+enum CursorType {
+ CURSOR_KEY_AND_VALUE = 0,
+ CURSOR_KEY_ONLY
+};
+
+} // namespace indexed_db
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_H_
« no previous file with comments | « content/browser/indexed_db/DEPS ('k') | content/browser/indexed_db/indexed_db_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698