Skip to content

Commit

Permalink
Remove old createIndex/createObjectStore implementations
Browse files Browse the repository at this point in the history
BUG=154140


Review URL: https://chromiumcodereview.appspot.com/11096009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160901 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
alecflett@chromium.org committed Oct 9, 2012
1 parent 8ed608d commit fd3fba7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 40 deletions.
12 changes: 0 additions & 12 deletions content/common/indexed_db/proxy_webidbdatabase_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,6 @@ WebKit::WebIDBObjectStore* RendererWebIDBDatabaseImpl::createObjectStore(
return new RendererWebIDBObjectStoreImpl(object_store);
}

// TODO(alecflett): Remove this when it is removed from webkit:
// https://bugs.webkit.org/show_bug.cgi?id=98085
WebKit::WebIDBObjectStore* RendererWebIDBDatabaseImpl::createObjectStore(
const WebKit::WebString& name,
const WebKit::WebIDBKeyPath& key_path,
bool auto_increment,
const WebKit::WebIDBTransaction& transaction,
WebExceptionCode& ec) {
return createObjectStore(AutogenerateObjectStoreId, name, key_path,
auto_increment, transaction, ec);
}

void RendererWebIDBDatabaseImpl::deleteObjectStore(
const WebString& name,
const WebIDBTransaction& transaction,
Expand Down
6 changes: 0 additions & 6 deletions content/common/indexed_db/proxy_webidbdatabase_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
bool auto_increment,
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode& ec);
virtual WebKit::WebIDBObjectStore* createObjectStore(
const WebKit::WebString& name,
const WebKit::WebIDBKeyPath& key_path,
bool auto_increment,
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode& ec);
virtual void deleteObjectStore(
const WebKit::WebString& name,
const WebKit::WebIDBTransaction& transaction,
Expand Down
13 changes: 0 additions & 13 deletions content/common/indexed_db/proxy_webidbobjectstore_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -168,19 +168,6 @@ WebIDBIndex* RendererWebIDBObjectStoreImpl::createIndex(
return new RendererWebIDBIndexImpl(index_id);
}

// TODO(alecflett): Remove this when it is removed from webkit:
// https://bugs.webkit.org/show_bug.cgi?id=98085
WebIDBIndex* RendererWebIDBObjectStoreImpl::createIndex(
const WebString& name,
const WebIDBKeyPath& key_path,
bool unique,
bool multi_entry,
const WebIDBTransaction& transaction,
WebExceptionCode& ec) {
return createIndex(AutogenerateIndexId, name, key_path, unique, multi_entry,
transaction, ec);
}

WebIDBIndex* RendererWebIDBObjectStoreImpl::index(
const WebString& name,
WebExceptionCode& ec) {
Expand Down
9 changes: 0 additions & 9 deletions content/common/indexed_db/proxy_webidbobjectstore_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,6 @@ class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore {
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode& ec);

// TODO(alecflett): Remove this when it is removed from webkit:
// https://bugs.webkit.org/show_bug.cgi?id=98085
virtual WebKit::WebIDBIndex* createIndex(
const WebKit::WebString& name,
const WebKit::WebIDBKeyPath& key_path,
bool unique,
bool multi_entry,
const WebKit::WebIDBTransaction& transaction,
WebKit::WebExceptionCode& ec);
// Transfers ownership of the WebIDBIndex to the caller.
virtual WebKit::WebIDBIndex* index(const WebKit::WebString& name,
WebKit::WebExceptionCode& ec);
Expand Down

0 comments on commit fd3fba7

Please sign in to comment.