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

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

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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/indexed_db_dispatcher.cc
===================================================================
--- content/common/indexed_db/indexed_db_dispatcher.cc (revision 163290)
+++ content/common/indexed_db/indexed_db_dispatcher.cc (working copy)
@@ -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::WebIDBTransactionCallbacks;
using webkit_glue::WorkerTaskRunner;
+namespace content {
static base::LazyInstance<ThreadLocalPointer<IndexedDBDispatcher> >::Leaky
g_idb_dispatcher_tls = LAZY_INSTANCE_INITIALIZER;
@@ -419,7 +416,7 @@
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 @@
i->second->ResetPrefetchCache();
}
}
+
+} // namespace content
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.h ('k') | content/common/indexed_db/indexed_db_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698