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

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

Issue 10916318: IndexedDB: Remove unused two-phase-open methods following WK90411 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/indexed_db_key.h" 9 #include "content/common/indexed_db/indexed_db_key.h"
10 #include "content/common/indexed_db/indexed_db_key_path.h" 10 #include "content/common/indexed_db/indexed_db_key_path.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_CursorDelete, 326 IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_CursorDelete,
327 int32, /* idb_cursor_id */ 327 int32, /* idb_cursor_id */
328 int32, /* thread_id */ 328 int32, /* thread_id */
329 int32, /* response_id */ 329 int32, /* response_id */
330 WebKit::WebExceptionCode /* ec */) 330 WebKit::WebExceptionCode /* ec */)
331 331
332 // WebIDBFactory::getDatabaseNames() message. 332 // WebIDBFactory::getDatabaseNames() message.
333 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryGetDatabaseNames, 333 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryGetDatabaseNames,
334 IndexedDBHostMsg_FactoryGetDatabaseNames_Params) 334 IndexedDBHostMsg_FactoryGetDatabaseNames_Params)
335 335
336 // TODO(jsbell): Remove this once WK90411 rolls.
337 // WebIDBFactory::open() message.
338 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpenLegacy,
339 IndexedDBHostMsg_FactoryOpen_Params)
340 // WebIDBFactory::open() message. 336 // WebIDBFactory::open() message.
341 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen, 337 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen,
342 IndexedDBHostMsg_FactoryOpen_Params) 338 IndexedDBHostMsg_FactoryOpen_Params)
343 339
344 // WebIDBFactory::deleteDatabase() message. 340 // WebIDBFactory::deleteDatabase() message.
345 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryDeleteDatabase, 341 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryDeleteDatabase,
346 IndexedDBHostMsg_FactoryDeleteDatabase_Params) 342 IndexedDBHostMsg_FactoryDeleteDatabase_Params)
347 343
348 // WebIDBDatabase::metadata() payload 344 // WebIDBDatabase::metadata() payload
349 IPC_STRUCT_BEGIN(IndexedDBIndexMetadata) 345 IPC_STRUCT_BEGIN(IndexedDBIndexMetadata)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // IDs to temporary IDs. We can then update the transaction 395 // IDs to temporary IDs. We can then update the transaction
400 // to its real ID asynchronously. 396 // to its real ID asynchronously.
401 IPC_SYNC_MESSAGE_CONTROL4_2(IndexedDBHostMsg_DatabaseTransaction, 397 IPC_SYNC_MESSAGE_CONTROL4_2(IndexedDBHostMsg_DatabaseTransaction,
402 int32, /* thread_id */ 398 int32, /* thread_id */
403 int32, /* idb_database_id */ 399 int32, /* idb_database_id */
404 std::vector<string16>, /* object_stores */ 400 std::vector<string16>, /* object_stores */
405 int32, /* mode */ 401 int32, /* mode */
406 int32, /* idb_transaction_id */ 402 int32, /* idb_transaction_id */
407 WebKit::WebExceptionCode /* ec */) 403 WebKit::WebExceptionCode /* ec */)
408 404
409 // TODO(jsbell): Remove once WK90411 has rolled.
410 // WebIDBDatabase::open() message.
411 IPC_MESSAGE_CONTROL3(IndexedDBHostMsg_DatabaseOpen,
412 int32, /* idb_database_id */
413 int32 /* thread_id */,
414 int32 /* response_id */)
415
416 // WebIDBDatabase::close() message. 405 // WebIDBDatabase::close() message.
417 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose, 406 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose,
418 int32 /* idb_database_id */) 407 int32 /* idb_database_id */)
419 408
420 // WebIDBDatabase::~WebIDBDatabase() message. 409 // WebIDBDatabase::~WebIDBDatabase() message.
421 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseDestroyed, 410 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseDestroyed,
422 int32 /* idb_database_id */) 411 int32 /* idb_database_id */)
423 412
424 // WebIDBIndex::openObjectCursor() message. 413 // WebIDBIndex::openObjectCursor() message.
425 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexOpenObjectCursor, 414 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexOpenObjectCursor,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 546 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
558 int32 /* idb_transaction_id */) 547 int32 /* idb_transaction_id */)
559 548
560 // IDBTransaction::DidCompleteTaskEvents() message. 549 // IDBTransaction::DidCompleteTaskEvents() message.
561 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 550 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
562 int32 /* idb_transaction_id */) 551 int32 /* idb_transaction_id */)
563 552
564 // WebIDBTransaction::~WebIDBTransaction() message. 553 // WebIDBTransaction::~WebIDBTransaction() message.
565 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 554 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
566 int32 /* idb_transaction_id */) 555 int32 /* idb_transaction_id */)
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.cc ('k') | content/common/indexed_db/proxy_webidbdatabase_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698