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

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

Issue 10272018: Move IndexedDBKey, IndexedDBKeyRange into content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use "using content::*" aliasing for IDB/SSV types Created 8 years, 8 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/common/indexed_db/proxy_webidbindex_impl.cc ('k') | content/common/utility_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/proxy_webidbobjectstore_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbobjectstore_impl.cc b/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
index 2e0eec461c5b23a9c5a994491244d9b5feea1ab4..b3dd8c0119481af9a9a441f925b2ae01fe8af410 100644
--- a/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
+++ b/content/common/indexed_db/proxy_webidbobjectstore_impl.cc
@@ -18,6 +18,8 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerializedScriptValue.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
+using content::IndexedDBKeyPath;
+using content::SerializedScriptValue;
using WebKit::WebDOMStringList;
using WebKit::WebExceptionCode;
using WebKit::WebFrame;
@@ -52,7 +54,7 @@ WebString RendererWebIDBObjectStoreImpl::name() const {
}
WebIDBKeyPath RendererWebIDBObjectStoreImpl::keyPath() const {
- content::IndexedDBKeyPath result;
+ IndexedDBKeyPath result;
IndexedDBDispatcher::Send(
new IndexedDBHostMsg_ObjectStoreKeyPath(idb_object_store_id_, &result));
return result;
@@ -79,7 +81,7 @@ void RendererWebIDBObjectStoreImpl::get(
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
dispatcher->RequestIDBObjectStoreGet(
- IndexedDBKeyRange(key_range), callbacks,
+ content::IndexedDBKeyRange(key_range), callbacks,
idb_object_store_id_, transaction, &ec);
}
@@ -93,8 +95,8 @@ void RendererWebIDBObjectStoreImpl::put(
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
dispatcher->RequestIDBObjectStorePut(
- content::SerializedScriptValue(value), IndexedDBKey(key), put_mode,
- callbacks, idb_object_store_id_, transaction, &ec);
+ SerializedScriptValue(value), content::IndexedDBKey(key),
+ put_mode, callbacks, idb_object_store_id_, transaction, &ec);
}
void RendererWebIDBObjectStoreImpl::deleteFunction(
@@ -105,7 +107,8 @@ void RendererWebIDBObjectStoreImpl::deleteFunction(
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
dispatcher->RequestIDBObjectStoreDelete(
- IndexedDBKey(key), callbacks, idb_object_store_id_, transaction, &ec);
+ content::IndexedDBKey(key), callbacks, idb_object_store_id_,
+ transaction, &ec);
}
void RendererWebIDBObjectStoreImpl::deleteFunction(
@@ -116,7 +119,7 @@ void RendererWebIDBObjectStoreImpl::deleteFunction(
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
dispatcher->RequestIDBObjectStoreDeleteRange(
- IndexedDBKeyRange(key_range), callbacks, idb_object_store_id_,
+ content::IndexedDBKeyRange(key_range), callbacks, idb_object_store_id_,
transaction, &ec);
}
@@ -139,7 +142,7 @@ WebIDBIndex* RendererWebIDBObjectStoreImpl::createIndex(
WebExceptionCode& ec) {
IndexedDBHostMsg_ObjectStoreCreateIndex_Params params;
params.name = name;
- params.key_path = content::IndexedDBKeyPath(key_path);
+ params.key_path = IndexedDBKeyPath(key_path);
params.unique = unique;
params.multi_entry = multi_entry;
params.transaction_id = IndexedDBDispatcher::TransactionId(transaction);
« no previous file with comments | « content/common/indexed_db/proxy_webidbindex_impl.cc ('k') | content/common/utility_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698