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

Unified Diff: content/common/indexed_db/proxy_webidbindex_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
Index: content/common/indexed_db/proxy_webidbindex_impl.cc
diff --git a/content/common/indexed_db/proxy_webidbindex_impl.cc b/content/common/indexed_db/proxy_webidbindex_impl.cc
index 9535d6a160393ec4db789285a92382f98d479476..2d5b38d22679876dfa5ba371a208fa9a80f876e4 100644
--- a/content/common/indexed_db/proxy_webidbindex_impl.cc
+++ b/content/common/indexed_db/proxy_webidbindex_impl.cc
@@ -12,6 +12,8 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
+using content::IndexedDBKeyPath;
+using content::IndexedDBKeyRange;
using WebKit::WebExceptionCode;
using WebKit::WebDOMStringList;
using WebKit::WebIDBKeyPath;
@@ -46,7 +48,7 @@ WebString RendererWebIDBIndexImpl::storeName() const {
}
WebIDBKeyPath RendererWebIDBIndexImpl::keyPath() const {
- content::IndexedDBKeyPath result;
+ IndexedDBKeyPath result;
IndexedDBDispatcher::Send(
new IndexedDBHostMsg_IndexKeyPath(idb_index_id_, &result));
return result;
@@ -109,7 +111,8 @@ void RendererWebIDBIndexImpl::getObject(
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
dispatcher->RequestIDBIndexGetObject(
- IndexedDBKeyRange(key_range), callbacks, idb_index_id_, transaction, &ec);
+ IndexedDBKeyRange(key_range), callbacks, idb_index_id_,
+ transaction, &ec);
}
void RendererWebIDBIndexImpl::getKey(
@@ -120,5 +123,6 @@ void RendererWebIDBIndexImpl::getKey(
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance();
dispatcher->RequestIDBIndexGetKey(
- IndexedDBKeyRange(key_range), callbacks, idb_index_id_, transaction, &ec);
+ IndexedDBKeyRange(key_range), callbacks, idb_index_id_,
+ transaction, &ec);
}
« no previous file with comments | « content/common/indexed_db/proxy_webidbcursor_impl.cc ('k') | content/common/indexed_db/proxy_webidbobjectstore_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698