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

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

Issue 10179003: IndexedDB: remove proxy and IPC code for the IDBKey-based get/getKey. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Updated formatting 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 // WebIDBIndex::count() message. 422 // WebIDBIndex::count() message.
423 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexCount, 423 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexCount,
424 IndexedDBHostMsg_IndexCount_Params, 424 IndexedDBHostMsg_IndexCount_Params,
425 WebKit::WebExceptionCode /* ec */) 425 WebKit::WebExceptionCode /* ec */)
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 */
433 int32, /* transaction_id */
434 WebKit::WebExceptionCode /* ec */)
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 */ 432 IndexedDBKeyRange, /* key */
442 int32, /* transaction_id */ 433 int32, /* transaction_id */
443 WebKit::WebExceptionCode /* ec */) 434 WebKit::WebExceptionCode /* ec */)
444 435
445 // WebIDBIndex::getKey() message. 436 // WebIDBIndex::getKey() message.
446 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetKey, 437 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_IndexGetKey,
447 int32, /* idb_index_id */ 438 int32, /* idb_index_id */
448 int32, /* thread_id */ 439 int32, /* thread_id */
449 int32, /* response_id */ 440 int32, /* response_id */
450 IndexedDBKey, /* key */
451 int32, /* transaction_id */
452 WebKit::WebExceptionCode /* ec */)
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 */ 441 IndexedDBKeyRange, /* key */
460 int32, /* transaction_id */ 442 int32, /* transaction_id */
461 WebKit::WebExceptionCode /* ec */) 443 WebKit::WebExceptionCode /* ec */)
462 444
463 // WebIDBIndex::~WebIDBIndex() message. 445 // WebIDBIndex::~WebIDBIndex() message.
464 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_IndexDestroyed, 446 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_IndexDestroyed,
465 int32 /* idb_index_id */) 447 int32 /* idb_index_id */)
466 448
467 // WebIDBObjectStore::name() message. 449 // WebIDBObjectStore::name() message.
468 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreName, 450 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreName,
469 int32, /* idb_object_store_id */ 451 int32, /* idb_object_store_id */
470 string16 /* name */) 452 string16 /* name */)
471 453
472 // WebIDBObjectStore::keyPath() message. 454 // WebIDBObjectStore::keyPath() message.
473 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath, 455 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath,
474 int32, /* idb_object_store_id */ 456 int32, /* idb_object_store_id */
475 NullableString16 /* keyPath */) 457 NullableString16 /* keyPath */)
476 458
477 // WebIDBObjectStore::indexNames() message. 459 // WebIDBObjectStore::indexNames() message.
478 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames, 460 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames,
479 int32, /* idb_object_store_id */ 461 int32, /* idb_object_store_id */
480 std::vector<string16> /* index_names */) 462 std::vector<string16> /* index_names */)
481 463
482 // WebIDBObjectStore::get() message. 464 // WebIDBObjectStore::get() message.
483 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet, 465 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet,
484 int32, /* idb_object_store_id */ 466 int32, /* idb_object_store_id */
485 int32, /* thread_id */ 467 int32, /* thread_id */
486 int32, /* response_id */ 468 int32, /* response_id */
487 IndexedDBKey, /* key */
488 int32, /* transaction_id */
489 WebKit::WebExceptionCode /* ec */)
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 */ 469 IndexedDBKeyRange, /* key_range */
497 int32, /* transaction_id */ 470 int32, /* transaction_id */
498 WebKit::WebExceptionCode /* ec */) 471 WebKit::WebExceptionCode /* ec */)
499 472
500 // WebIDBObjectStore::put() message. 473 // WebIDBObjectStore::put() message.
501 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStorePut, 474 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStorePut,
502 IndexedDBHostMsg_ObjectStorePut_Params, 475 IndexedDBHostMsg_ObjectStorePut_Params,
503 WebKit::WebExceptionCode /* ec */) 476 WebKit::WebExceptionCode /* ec */)
504 477
505 // WebIDBObjectStore::delete(key) message. 478 // WebIDBObjectStore::delete(key) message.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 555 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
583 int32 /* idb_transaction_id */) 556 int32 /* idb_transaction_id */)
584 557
585 // IDBTransaction::DidCompleteTaskEvents() message. 558 // IDBTransaction::DidCompleteTaskEvents() message.
586 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 559 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
587 int32 /* idb_transaction_id */) 560 int32 /* idb_transaction_id */)
588 561
589 // WebIDBTransaction::~WebIDBTransaction() message. 562 // WebIDBTransaction::~WebIDBTransaction() message.
590 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 563 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
591 int32 /* idb_transaction_id */) 564 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