Commit d17e1b33 authored by dgrogan@chromium.org's avatar dgrogan@chromium.org

Remove routing_id from IndexedDB IPC messages

They are never used.

BUG=103951


Review URL: http://codereview.chromium.org/8536029

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110010 0039d316-1c4b-4281-b951-d872f2087c98
parent e3ff8ee2
...@@ -22,8 +22,6 @@ IPC_ENUM_TRAITS(WebKit::WebIDBObjectStore::PutMode) ...@@ -22,8 +22,6 @@ IPC_ENUM_TRAITS(WebKit::WebIDBObjectStore::PutMode)
// Used to enumerate indexed databases. // Used to enumerate indexed databases.
IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryGetDatabaseNames_Params) IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryGetDatabaseNames_Params)
// The routing ID of the view initiating the open.
IPC_STRUCT_MEMBER(int32, routing_id)
// The response should have this id. // The response should have this id.
IPC_STRUCT_MEMBER(int32, response_id) IPC_STRUCT_MEMBER(int32, response_id)
// The origin doing the initiating. // The origin doing the initiating.
...@@ -32,8 +30,6 @@ IPC_STRUCT_END() ...@@ -32,8 +30,6 @@ IPC_STRUCT_END()
// Used to open an indexed database. // Used to open an indexed database.
IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params) IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params)
// The routing ID of the view initiating the open.
IPC_STRUCT_MEMBER(int32, routing_id)
// The response should have this id. // The response should have this id.
IPC_STRUCT_MEMBER(int32, response_id) IPC_STRUCT_MEMBER(int32, response_id)
// The origin doing the initiating. // The origin doing the initiating.
...@@ -44,8 +40,6 @@ IPC_STRUCT_END() ...@@ -44,8 +40,6 @@ IPC_STRUCT_END()
// Used to delete an indexed database. // Used to delete an indexed database.
IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryDeleteDatabase_Params) IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryDeleteDatabase_Params)
// The routing ID of the view initiating the deletion.
IPC_STRUCT_MEMBER(int32, routing_id)
// The response should have this id. // The response should have this id.
IPC_STRUCT_MEMBER(int32, response_id) IPC_STRUCT_MEMBER(int32, response_id)
// The origin doing the initiating. // The origin doing the initiating.
......
...@@ -120,7 +120,6 @@ void IndexedDBDispatcher::RequestIDBFactoryOpen( ...@@ -120,7 +120,6 @@ void IndexedDBDispatcher::RequestIDBFactoryOpen(
return; // We must be shutting down. return; // We must be shutting down.
IndexedDBHostMsg_FactoryOpen_Params params; IndexedDBHostMsg_FactoryOpen_Params params;
params.routing_id = render_view->routing_id();
params.response_id = pending_callbacks_.Add(callbacks.release()); params.response_id = pending_callbacks_.Add(callbacks.release());
params.origin = origin; params.origin = origin;
params.name = name; params.name = name;
...@@ -140,7 +139,6 @@ void IndexedDBDispatcher::RequestIDBFactoryGetDatabaseNames( ...@@ -140,7 +139,6 @@ void IndexedDBDispatcher::RequestIDBFactoryGetDatabaseNames(
return; // We must be shutting down. return; // We must be shutting down.
IndexedDBHostMsg_FactoryGetDatabaseNames_Params params; IndexedDBHostMsg_FactoryGetDatabaseNames_Params params;
params.routing_id = render_view->routing_id();
params.response_id = pending_callbacks_.Add(callbacks.release()); params.response_id = pending_callbacks_.Add(callbacks.release());
params.origin = origin; params.origin = origin;
RenderThreadImpl::current()->Send( RenderThreadImpl::current()->Send(
...@@ -161,7 +159,6 @@ void IndexedDBDispatcher::RequestIDBFactoryDeleteDatabase( ...@@ -161,7 +159,6 @@ void IndexedDBDispatcher::RequestIDBFactoryDeleteDatabase(
return; // We must be shutting down. return; // We must be shutting down.
IndexedDBHostMsg_FactoryDeleteDatabase_Params params; IndexedDBHostMsg_FactoryDeleteDatabase_Params params;
params.routing_id = render_view->routing_id();
params.response_id = pending_callbacks_.Add(callbacks.release()); params.response_id = pending_callbacks_.Add(callbacks.release());
params.origin = origin; params.origin = origin;
params.name = name; params.name = name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment