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

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

Issue 15659013: Revert "Migrate the IndexedDB backend from Blink to Chromium" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/webidbcursor_impl.cc ('k') | content/browser/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/webidbdatabase_impl.h
diff --git a/content/browser/indexed_db/webidbdatabase_impl.h b/content/browser/indexed_db/webidbdatabase_impl.h
deleted file mode 100644
index 311a1568e795db58bdd49b7a0d1cfa98cf636e10..0000000000000000000000000000000000000000
--- a/content/browser/indexed_db/webidbdatabase_impl.h
+++ /dev/null
@@ -1,110 +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_WEBIDBDATABASE_IMPL_H_
-#define CONTENT_BROWSER_INDEXED_DB_WEBIDBDATABASE_IMPL_H_
-
-#include "base/memory/ref_counted.h"
-#include "content/browser/indexed_db/indexed_db_database.h"
-#include "content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/WebIDBDatabase.h"
-
-namespace WebKit {
-class WebIDBDatabaseCallbacks;
-class WebIDBDatabaseError;
-class WebIDBDatabaseMetadata;
-}
-
-namespace content {
-class IndexedDBDatabase;
-class IndexedDBDatabaseCallbacksWrapper;
-
-// See comment in WebIDBFactory for a high level overview these classes.
-class WebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
- public:
- WebIDBDatabaseImpl(
- scoped_refptr<IndexedDBDatabase> db,
- scoped_refptr<IndexedDBDatabaseCallbacksWrapper> callbacks);
- virtual ~WebIDBDatabaseImpl();
-
- virtual void createObjectStore(long long transaction_id,
- long long object_store_id,
- const WebKit::WebString& name,
- const WebKit::WebIDBKeyPath& key_path,
- bool auto_increment);
- virtual void deleteObjectStore(long long object_store_id,
- long long transaction_id);
- virtual void createTransaction(long long id,
- WebKit::WebIDBDatabaseCallbacks* callbacks,
- const WebKit::WebVector<long long>& scope,
- unsigned short mode);
- virtual void forceClose();
- virtual void close();
- virtual void abort(long long transaction_id);
- virtual void abort(long long transaction_id,
- const WebKit::WebIDBDatabaseError& error);
- virtual void commit(long long transaction_id);
-
- virtual void get(long long transaction_id,
- long long object_store_id,
- long long index_id,
- const WebKit::WebIDBKeyRange& range,
- bool key_only,
- WebKit::WebIDBCallbacks* callbacks);
- virtual void put(long long transaction_id,
- long long object_store_id,
- const WebKit::WebData& value,
- const WebKit::WebIDBKey& key,
- PutMode mode,
- WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebVector<long long>& index_ids,
- const WebKit::WebVector<WebIndexKeys>& index_keys);
- virtual void setIndexKeys(long long transaction_id,
- long long object_store_id,
- const WebKit::WebIDBKey& key,
- const WebKit::WebVector<long long>& index_ids,
- const WebKit::WebVector<WebIndexKeys>& index_keys);
- virtual void setIndexesReady(long long transaction_id,
- long long object_store_id,
- const WebKit::WebVector<long long>& index_ids);
- virtual void openCursor(long long transaction_id,
- long long object_store_id,
- long long index_id,
- const WebKit::WebIDBKeyRange& range,
- unsigned short direction,
- bool key_only,
- TaskType task_type,
- WebKit::WebIDBCallbacks* callbacks);
- virtual void count(long long transaction_id,
- long long object_store_id,
- long long index_id,
- const WebKit::WebIDBKeyRange& range,
- WebKit::WebIDBCallbacks* callbacks);
- virtual void deleteRange(long long transaction_id,
- long long object_store_id,
- const WebKit::WebIDBKeyRange& range,
- WebKit::WebIDBCallbacks* callbacks);
- virtual void clear(long long transaction_id,
- long long object_store_id,
- WebKit::WebIDBCallbacks* callbacks);
-
- virtual void createIndex(long long transaction_id,
- long long object_store_id,
- long long index_id,
- const WebKit::WebString& name,
- const WebKit::WebIDBKeyPath& key_path,
- bool unique,
- bool multi_entry);
- virtual void deleteIndex(long long transaction_id,
- long long object_store_id,
- long long index_id);
-
- private:
- scoped_refptr<IndexedDBDatabase> database_backend_;
- scoped_refptr<IndexedDBDatabaseCallbacksWrapper> database_callbacks_;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_INDEXED_DB_WEBIDBDATABASE_IMPL_H_
« no previous file with comments | « content/browser/indexed_db/webidbcursor_impl.cc ('k') | content/browser/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698