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

Unified Diff: content/common/indexed_db/proxy_webidbcursor_impl.h

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/proxy_webidbcursor_impl.h
===================================================================
--- content/common/indexed_db/proxy_webidbcursor_impl.h (revision 163290)
+++ content/common/indexed_db/proxy_webidbcursor_impl.h (working copy)
@@ -16,6 +16,8 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerializedScriptValue.h"
+namespace content {
+
class RendererWebIDBCursorImpl : public WebKit::WebIDBCursor {
public:
explicit RendererWebIDBCursorImpl(int32 idb_cursor_id);
@@ -32,9 +34,9 @@
virtual void postSuccessHandlerCallback();
void SetPrefetchData(
- const std::vector<content::IndexedDBKey>& keys,
- const std::vector<content::IndexedDBKey>& primary_keys,
- const std::vector<content::SerializedScriptValue>& values);
+ const std::vector<IndexedDBKey>& keys,
+ const std::vector<IndexedDBKey>& primary_keys,
+ const std::vector<SerializedScriptValue>& values);
void CachedContinue(WebKit::WebIDBCallbacks* callbacks);
void ResetPrefetchCache();
@@ -43,9 +45,9 @@
int32 idb_cursor_id_;
// Prefetch cache.
- std::deque<content::IndexedDBKey> prefetch_keys_;
- std::deque<content::IndexedDBKey> prefetch_primary_keys_;
- std::deque<content::SerializedScriptValue> prefetch_values_;
+ std::deque<IndexedDBKey> prefetch_keys_;
+ std::deque<IndexedDBKey> prefetch_primary_keys_;
+ std::deque<SerializedScriptValue> prefetch_values_;
// Number of continue calls that would qualify for a pre-fetch.
int continue_count_;
@@ -64,4 +66,6 @@
enum { kMaxPrefetchAmount = 100 };
};
+} // namespace content
+
#endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBCURSOR_IMPL_H_
« no previous file with comments | « content/common/indexed_db/indexed_db_message_filter.cc ('k') | content/common/indexed_db/proxy_webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698