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

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

Issue 10083053: IndexedDB: Support get/getKey(keyRange) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address nits Created 8 years, 8 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
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_range.h" 10 #include "content/common/indexed_db/indexed_db_key_range.h"
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 426
427 // WebIDBIndex::getObject() message. 427 // WebIDBIndex::getObject() message.
428 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetObject, 428 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetObject,
429 int32, /* idb_index_id */ 429 int32, /* idb_index_id */
430 int32, /* thread_id */ 430 int32, /* thread_id */
431 int32, /* response_id */ 431 int32, /* response_id */
432 IndexedDBKey, /* key */ 432 IndexedDBKey, /* key */
433 int32, /* transaction_id */ 433 int32, /* transaction_id */
434 WebKit::WebExceptionCode /* ec */) 434 WebKit::WebExceptionCode /* ec */)
435 435
436 // WebIDBIndex::getObjectByRange() message.
437 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetObjectByRange,
438 int32, /* idb_index_id */
439 int32, /* thread_id */
440 int32, /* response_id */
441 IndexedDBKeyRange, /* key */
442 int32, /* transaction_id */
443 WebKit::WebExceptionCode /* ec */)
444
436 // WebIDBIndex::getKey() message. 445 // WebIDBIndex::getKey() message.
437 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetKey, 446 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetKey,
438 int32, /* idb_index_id */ 447 int32, /* idb_index_id */
439 int32, /* thread_id */ 448 int32, /* thread_id */
440 int32, /* response_id */ 449 int32, /* response_id */
441 IndexedDBKey, /* key */ 450 IndexedDBKey, /* key */
442 int32, /* transaction_id */ 451 int32, /* transaction_id */
443 WebKit::WebExceptionCode /* ec */) 452 WebKit::WebExceptionCode /* ec */)
444 453
454 // WebIDBIndex::getKeyByRange() message.
455 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetKeyByRange,
456 int32, /* idb_index_id */
457 int32, /* thread_id */
458 int32, /* response_id */
459 IndexedDBKeyRange, /* key */
460 int32, /* transaction_id */
461 WebKit::WebExceptionCode /* ec */)
462
445 // WebIDBIndex::~WebIDBIndex() message. 463 // WebIDBIndex::~WebIDBIndex() message.
446 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_IndexDestroyed, 464 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_IndexDestroyed,
447 int32 /* idb_index_id */) 465 int32 /* idb_index_id */)
448 466
449 // WebIDBObjectStore::name() message. 467 // WebIDBObjectStore::name() message.
450 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreName, 468 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreName,
451 int32, /* idb_object_store_id */ 469 int32, /* idb_object_store_id */
452 string16 /* name */) 470 string16 /* name */)
453 471
454 // WebIDBObjectStore::keyPath() message. 472 // WebIDBObjectStore::keyPath() message.
455 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath, 473 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath,
456 int32, /* idb_object_store_id */ 474 int32, /* idb_object_store_id */
457 NullableString16 /* keyPath */) 475 NullableString16 /* keyPath */)
458 476
459 // WebIDBObjectStore::indexNames() message. 477 // WebIDBObjectStore::indexNames() message.
460 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames, 478 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames,
461 int32, /* idb_object_store_id */ 479 int32, /* idb_object_store_id */
462 std::vector<string16> /* index_names */) 480 std::vector<string16> /* index_names */)
463 481
464 // WebIDBObjectStore::get() message. 482 // WebIDBObjectStore::get() message.
465 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet, 483 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet,
466 int32, /* idb_object_store_id */ 484 int32, /* idb_object_store_id */
467 int32, /* thread_id */ 485 int32, /* thread_id */
468 int32, /* response_id */ 486 int32, /* response_id */
469 IndexedDBKey, /* key */ 487 IndexedDBKey, /* key */
470 int32, /* transaction_id */ 488 int32, /* transaction_id */
471 WebKit::WebExceptionCode /* ec */) 489 WebKit::WebExceptionCode /* ec */)
472 490
491 // WebIDBObjectStore::get() message.
492 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGetByRange,
493 int32, /* idb_object_store_id */
494 int32, /* thread_id */
495 int32, /* response_id */
496 IndexedDBKeyRange, /* key_range */
497 int32, /* transaction_id */
498 WebKit::WebExceptionCode /* ec */)
499
473 // WebIDBObjectStore::put() message. 500 // WebIDBObjectStore::put() message.
474 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStorePut, 501 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStorePut,
475 IndexedDBHostMsg_ObjectStorePut_Params, 502 IndexedDBHostMsg_ObjectStorePut_Params,
476 WebKit::WebExceptionCode /* ec */) 503 WebKit::WebExceptionCode /* ec */)
477 504
478 // WebIDBObjectStore::delete(key) message. 505 // WebIDBObjectStore::delete(key) message.
479 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDelete, 506 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreDelete,
480 int32, /* idb_object_store_id */ 507 int32, /* idb_object_store_id */
481 int32, /* thread_id */ 508 int32, /* thread_id */
482 int32, /* response_id */ 509 int32, /* response_id */
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 582 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
556 int32 /* idb_transaction_id */) 583 int32 /* idb_transaction_id */)
557 584
558 // IDBTransaction::DidCompleteTaskEvents() message. 585 // IDBTransaction::DidCompleteTaskEvents() message.
559 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 586 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
560 int32 /* idb_transaction_id */) 587 int32 /* idb_transaction_id */)
561 588
562 // WebIDBTransaction::~WebIDBTransaction() message. 589 // WebIDBTransaction::~WebIDBTransaction() message.
563 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 590 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
564 int32 /* idb_transaction_id */) 591 int32 /* idb_transaction_id */)
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.cc ('k') | content/common/indexed_db/proxy_webidbindex_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698