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

Side by Side Diff: content/common/indexed_db_messages.h

Issue 8400061: IndexedDB: Recycle cursor objects when calling continue(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More style nits fixed Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "content/common/indexed_db_key.h" 9 #include "content/common/indexed_db_key.h"
10 #include "content/common/indexed_db_param_traits.h" 10 #include "content/common/indexed_db_param_traits.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 // Indexed DB messages sent from the browser to the renderer. 141 // Indexed DB messages sent from the browser to the renderer.
142 142
143 // IDBCallback message handlers. 143 // IDBCallback message handlers.
144 IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessIDBCursor, 144 IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessIDBCursor,
145 int32 /* response_id */, 145 int32 /* response_id */,
146 int32 /* cursor_id */, 146 int32 /* cursor_id */,
147 IndexedDBKey /* key */, 147 IndexedDBKey /* key */,
148 IndexedDBKey /* primary key */, 148 IndexedDBKey /* primary key */,
149 content::SerializedScriptValue /* script_value */) 149 content::SerializedScriptValue /* script_value */)
150 IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksSuccessCursorContinue,
151 int32 /* response_id */,
152 int32 /* cursor_id */,
153 IndexedDBKey /* key */,
154 IndexedDBKey /* primary key */,
155 content::SerializedScriptValue /* script_value */)
150 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBDatabase, 156 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBDatabase,
151 int32 /* response_id */, 157 int32 /* response_id */,
152 int32 /* idb_database_id */) 158 int32 /* idb_database_id */)
153 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIndexedDBKey, 159 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIndexedDBKey,
154 int32 /* response_id */, 160 int32 /* response_id */,
155 IndexedDBKey /* indexed_db_key */) 161 IndexedDBKey /* indexed_db_key */)
156 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBTransaction, 162 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBTransaction,
157 int32 /* response_id */, 163 int32 /* response_id */,
158 int32 /* idb_transaction_id */) 164 int32 /* idb_transaction_id */)
159 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessSerializedScriptValue, 165 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessSerializedScriptValue,
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 426 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
421 int32 /* idb_transaction_id */) 427 int32 /* idb_transaction_id */)
422 428
423 // IDBTransaction::DidCompleteTaskEvents() message. 429 // IDBTransaction::DidCompleteTaskEvents() message.
424 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 430 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
425 int32 /* idb_transaction_id */) 431 int32 /* idb_transaction_id */)
426 432
427 // WebIDBTransaction::~WebIDBTransaction() message. 433 // WebIDBTransaction::~WebIDBTransaction() message.
428 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 434 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
429 int32 /* idb_transaction_id */) 435 int32 /* idb_transaction_id */)
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | content/renderer/indexed_db_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698