summaryrefslogtreecommitdiffstats
path: root/content/browser/indexed_db/leveldb/leveldb_write_batch.h
diff options
context:
space:
mode:
authoralecflett@chromium.org <alecflett@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 23:09:08 +0000
committeralecflett@chromium.org <alecflett@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 23:09:08 +0000
commite1bcc0207442374ab4d539e6a5623fe4cf1fe8cb (patch)
tree01141ee8180a33ca0fba59379bf5d9e0f19c51db /content/browser/indexed_db/leveldb/leveldb_write_batch.h
parent71c1cbb0f63b371bc4167c9735e400457b376df2 (diff)
downloadchromium_src-e1bcc0207442374ab4d539e6a5623fe4cf1fe8cb.zip
chromium_src-e1bcc0207442374ab4d539e6a5623fe4cf1fe8cb.tar.gz
chromium_src-e1bcc0207442374ab4d539e6a5623fe4cf1fe8cb.tar.bz2
Revert "Migrate the IndexedDB backend from Blink to Chromium"
This reverts commit 71c1cbb0f63b371bc4167c9735e400457b376df2. Landed the wrong patch. BUG= TBR=jsbell Review URL: https://codereview.chromium.org/15853013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/indexed_db/leveldb/leveldb_write_batch.h')
-rw-r--r--content/browser/indexed_db/leveldb/leveldb_write_batch.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/content/browser/indexed_db/leveldb/leveldb_write_batch.h b/content/browser/indexed_db/leveldb/leveldb_write_batch.h
deleted file mode 100644
index 2849687..0000000
--- a/content/browser/indexed_db/leveldb/leveldb_write_batch.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// 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_LEVELDB_LEVELDB_WRITE_BATCH_H_
-#define CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_WRITE_BATCH_H_
-
-#include "base/memory/scoped_ptr.h"
-
-namespace leveldb {
-class WriteBatch;
-}
-
-namespace content {
-
-class LevelDBSlice;
-
-// Wrapper around leveldb::WriteBatch.
-// This class holds a collection of updates to apply atomically to a database.
-class LevelDBWriteBatch {
- public:
- static scoped_ptr<LevelDBWriteBatch> Create();
- ~LevelDBWriteBatch();
-
- void Put(const LevelDBSlice& key, const LevelDBSlice& value);
- void Remove(const LevelDBSlice& key); // Add remove operation to the batch.
- void Clear();
-
- private:
- friend class LevelDBDatabase;
- LevelDBWriteBatch();
-
- scoped_ptr<leveldb::WriteBatch> write_batch_;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_WRITE_BATCH_H_