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

Unified Diff: content/common/indexed_db/proxy_webidbdatabase_impl.cc

Issue 11828054: Remove IPC code for old methods. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix merge conflicts Created 7 years, 11 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/common/indexed_db/proxy_webidbdatabase_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbdatabase_impl.cc b/content/common/indexed_db/proxy_webidbdatabase_impl.cc
index 607ba375433f8bae42760fd2febeca07a7a2e25d..1aa5bcfba9497a95cf31901f698a5e282f087104 100644
--- a/content/common/indexed_db/proxy_webidbdatabase_impl.cc
+++ b/content/common/indexed_db/proxy_webidbdatabase_impl.cc
@@ -9,7 +9,6 @@
#include "content/common/child_thread.h"
#include "content/common/indexed_db/indexed_db_messages.h"
#include "content/common/indexed_db/indexed_db_dispatcher.h"
-#include "content/common/indexed_db/proxy_webidbobjectstore_impl.h"
#include "content/common/indexed_db/proxy_webidbtransaction_impl.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h"
@@ -92,30 +91,6 @@ WebIDBMetadata RendererWebIDBDatabaseImpl::metadata() const {
return web_metadata;
}
-WebKit::WebIDBObjectStore* RendererWebIDBDatabaseImpl::createObjectStore(
- long long id,
- const WebKit::WebString& name,
- const WebKit::WebIDBKeyPath& key_path,
- bool auto_increment,
- const WebKit::WebIDBTransaction& transaction,
- WebExceptionCode& ec) {
- IndexedDBHostMsg_DatabaseCreateObjectStoreOld_Params params;
- params.id = id;
- params.name = name;
- params.key_path = IndexedDBKeyPath(key_path);
- params.auto_increment = auto_increment;
- params.ipc_transaction_id = IndexedDBDispatcher::TransactionId(transaction);
- params.ipc_database_id = ipc_database_id_;
-
- int object_store;
- IndexedDBDispatcher::Send(
- new IndexedDBHostMsg_DatabaseCreateObjectStoreOld(
- params, &object_store, &ec));
- if (!object_store)
- return NULL;
- return new RendererWebIDBObjectStoreImpl(object_store);
-}
-
void RendererWebIDBDatabaseImpl::createObjectStore(
long long transaction_id,
long long object_store_id,
@@ -135,16 +110,6 @@ void RendererWebIDBDatabaseImpl::createObjectStore(
}
void RendererWebIDBDatabaseImpl::deleteObjectStore(
- long long object_store_id,
- const WebIDBTransaction& transaction,
- WebExceptionCode& ec) {
- IndexedDBDispatcher::Send(
- new IndexedDBHostMsg_DatabaseDeleteObjectStoreOld(
- ipc_database_id_, object_store_id,
- IndexedDBDispatcher::TransactionId(transaction), &ec));
-}
-
-void RendererWebIDBDatabaseImpl::deleteObjectStore(
long long transaction_id,
long long object_store_id) {
IndexedDBDispatcher::Send(
« no previous file with comments | « content/common/indexed_db/proxy_webidbdatabase_impl.h ('k') | content/common/indexed_db/proxy_webidbindex_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698