diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 20:16:19 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 20:16:19 +0000 |
commit | eb398193640924b8e55c6b2d00077838146ea8eb (patch) | |
tree | fc832fdabf40bad4ea19253b19216f1111fdc166 /content/common/indexed_db/indexed_db_dispatcher.cc | |
parent | f6b218e0969ab52a1a623260a8242030f8aeef31 (diff) | |
download | chromium_src-eb398193640924b8e55c6b2d00077838146ea8eb.zip chromium_src-eb398193640924b8e55c6b2d00077838146ea8eb.tar.gz chromium_src-eb398193640924b8e55c6b2d00077838146ea8eb.tar.bz2 |
Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace.
Review URL: https://codereview.chromium.org/11227033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/indexed_db/indexed_db_dispatcher.cc')
-rw-r--r-- | content/common/indexed_db/indexed_db_dispatcher.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/content/common/indexed_db/indexed_db_dispatcher.cc b/content/common/indexed_db/indexed_db_dispatcher.cc index ae1e157..aa2d39c 100644 --- a/content/common/indexed_db/indexed_db_dispatcher.cc +++ b/content/common/indexed_db/indexed_db_dispatcher.cc @@ -21,10 +21,6 @@ #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" using base::ThreadLocalPointer; -using content::IndexedDBKey; -using content::IndexedDBKeyPath; -using content::IndexedDBKeyRange; -using content::SerializedScriptValue; using WebKit::WebDOMStringList; using WebKit::WebExceptionCode; using WebKit::WebFrame; @@ -37,6 +33,7 @@ using WebKit::WebIDBTransaction; using WebKit::WebIDBTransactionCallbacks; using webkit_glue::WorkerTaskRunner; +namespace content { static base::LazyInstance<ThreadLocalPointer<IndexedDBDispatcher> >::Leaky g_idb_dispatcher_tls = LAZY_INSTANCE_INITIALIZER; @@ -419,7 +416,7 @@ void IndexedDBDispatcher::RequestIDBObjectStorePut( for (size_t i = 0; i < index_keys.size(); ++i) { params.index_keys[i].resize(index_keys[i].size()); for (size_t j = 0; j < index_keys[i].size(); ++j) { - params.index_keys[i][j] = content::IndexedDBKey(index_keys[i][j]); + params.index_keys[i][j] = IndexedDBKey(index_keys[i][j]); } } Send(new IndexedDBHostMsg_ObjectStorePut(params)); @@ -777,3 +774,5 @@ void IndexedDBDispatcher::ResetCursorPrefetchCaches(int32 exception_cursor_id) { i->second->ResetPrefetchCache(); } } + +} // namespace content |