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

Unified Diff: chrome/renderer/renderer_webidbcursor_impl.cc

Issue 5680007: Make IndexedDBDispatcherHost be a message filter and move its messages into a... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « chrome/renderer/indexed_db_dispatcher.cc ('k') | chrome/renderer/renderer_webidbdatabase_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_webidbcursor_impl.cc
===================================================================
--- chrome/renderer/renderer_webidbcursor_impl.cc (revision 69028)
+++ chrome/renderer/renderer_webidbcursor_impl.cc (working copy)
@@ -4,9 +4,7 @@
#include "chrome/renderer/renderer_webidbcursor_impl.h"
-#include "chrome/common/indexed_db_key.h"
-#include "chrome/common/render_messages.h"
-#include "chrome/common/serialized_script_value.h"
+#include "chrome/common/indexed_db_messages.h"
#include "chrome/renderer/indexed_db_dispatcher.h"
#include "chrome/renderer/render_thread.h"
@@ -20,21 +18,21 @@
}
RendererWebIDBCursorImpl::~RendererWebIDBCursorImpl() {
- RenderThread::current()->Send(new ViewHostMsg_IDBCursorDestroyed(
+ RenderThread::current()->Send(new IndexedDBHostMsg_CursorDestroyed(
idb_cursor_id_));
}
unsigned short RendererWebIDBCursorImpl::direction() const {
int direction;
RenderThread::current()->Send(
- new ViewHostMsg_IDBCursorDirection(idb_cursor_id_, &direction));
+ new IndexedDBHostMsg_CursorDirection(idb_cursor_id_, &direction));
return direction;
}
WebIDBKey RendererWebIDBCursorImpl::key() const {
IndexedDBKey key;
RenderThread::current()->Send(
- new ViewHostMsg_IDBCursorKey(idb_cursor_id_, &key));
+ new IndexedDBHostMsg_CursorKey(idb_cursor_id_, &key));
return key;
}
@@ -44,8 +42,8 @@
SerializedScriptValue scriptValue;
IndexedDBKey key;
RenderThread::current()->Send(
- new ViewHostMsg_IDBCursorValue(idb_cursor_id_, &scriptValue,
- &key));
+ new IndexedDBHostMsg_CursorValue(idb_cursor_id_, &scriptValue,
+ &key));
// Only one or the other type should have been "returned" to us.
DCHECK(scriptValue.is_null() != (key.type() == WebIDBKey::InvalidType));
webScriptValue = scriptValue;
Property changes on: chrome\renderer\renderer_webidbcursor_impl.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/renderer/indexed_db_dispatcher.cc ('k') | chrome/renderer/renderer_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698