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

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

Issue 10657011: IndexedDB: Remove IPC plumbing for obsolete property accessors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 IPC_STRUCT_MEMBER(string16, name) 330 IPC_STRUCT_MEMBER(string16, name)
331 IPC_STRUCT_MEMBER(string16, version) 331 IPC_STRUCT_MEMBER(string16, version)
332 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores) 332 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores)
333 IPC_STRUCT_END() 333 IPC_STRUCT_END()
334 334
335 // WebIDBDatabase::metadata() message. 335 // WebIDBDatabase::metadata() message.
336 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseMetadata, 336 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseMetadata,
337 int32, /* idb_database_id */ 337 int32, /* idb_database_id */
338 IndexedDBDatabaseMetadata /* metadata */) 338 IndexedDBDatabaseMetadata /* metadata */)
339 339
340 // WebIDBDatabase::name() message.
341 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseName,
342 int32, /* idb_database_id */
343 string16 /* name */)
344
345 // WebIDBDatabase::version() message.
346 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseVersion,
347 int32, /* idb_database_id */
348 string16 /* version */)
349
350 // WebIDBDatabase::objectStoreNames() message.
351 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseObjectStoreNames,
352 int32, /* idb_database_id */
353 std::vector<string16> /* objectStoreNames */)
354
355 // WebIDBDatabase::createObjectStore() message. 340 // WebIDBDatabase::createObjectStore() message.
356 IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_DatabaseCreateObjectStore, 341 IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_DatabaseCreateObjectStore,
357 IndexedDBHostMsg_DatabaseCreateObjectStore_Params, 342 IndexedDBHostMsg_DatabaseCreateObjectStore_Params,
358 int32, /* object_store_id */ 343 int32, /* object_store_id */
359 WebKit::WebExceptionCode /* ec */) 344 WebKit::WebExceptionCode /* ec */)
360 345
361 // WebIDBDatabase::removeObjectStore() message. 346 // WebIDBDatabase::removeObjectStore() message.
362 IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_DatabaseDeleteObjectStore, 347 IPC_SYNC_MESSAGE_CONTROL3_1(IndexedDBHostMsg_DatabaseDeleteObjectStore,
363 int32, /* idb_database_id */ 348 int32, /* idb_database_id */
364 string16, /* name */ 349 string16, /* name */
(...skipping 28 matching lines...) Expand all
393 int32 /* response_id */) 378 int32 /* response_id */)
394 379
395 // WebIDBDatabase::close() message. 380 // WebIDBDatabase::close() message.
396 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose, 381 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose,
397 int32 /* idb_database_id */) 382 int32 /* idb_database_id */)
398 383
399 // WebIDBDatabase::~WebIDBDatabase() message. 384 // WebIDBDatabase::~WebIDBDatabase() message.
400 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseDestroyed, 385 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseDestroyed,
401 int32 /* idb_database_id */) 386 int32 /* idb_database_id */)
402 387
403 // WebIDBIndex::name() message.
404 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexName,
405 int32, /* idb_index_id */
406 string16 /* name */)
407
408 // WebIDBIndex::keyPath() message.
409 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexKeyPath,
410 int32, /* idb_index_id */
411 content::IndexedDBKeyPath /* key_path */)
412
413 // WebIDBIndex::unique() message.
414 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexUnique,
415 int32, /* idb_index_id */
416 bool /* unique */)
417
418 // WebIDBIndex::multiEntry() message.
419 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexMultiEntry,
420 int32, /* idb_index_id */
421 bool /* multi_entry */)
422
423 // WebIDBIndex::openObjectCursor() message. 388 // WebIDBIndex::openObjectCursor() message.
424 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexOpenObjectCursor, 389 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexOpenObjectCursor,
425 IndexedDBHostMsg_IndexOpenCursor_Params, 390 IndexedDBHostMsg_IndexOpenCursor_Params,
426 WebKit::WebExceptionCode /* ec */) 391 WebKit::WebExceptionCode /* ec */)
427 392
428 // WebIDBIndex::openKeyCursor() message. 393 // WebIDBIndex::openKeyCursor() message.
429 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexOpenKeyCursor, 394 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexOpenKeyCursor,
430 IndexedDBHostMsg_IndexOpenCursor_Params, 395 IndexedDBHostMsg_IndexOpenCursor_Params,
431 WebKit::WebExceptionCode /* ec */) 396 WebKit::WebExceptionCode /* ec */)
432 397
(...skipping 17 matching lines...) Expand all
450 int32, /* thread_id */ 415 int32, /* thread_id */
451 int32, /* response_id */ 416 int32, /* response_id */
452 content::IndexedDBKeyRange, /* key */ 417 content::IndexedDBKeyRange, /* key */
453 int32, /* transaction_id */ 418 int32, /* transaction_id */
454 WebKit::WebExceptionCode /* ec */) 419 WebKit::WebExceptionCode /* ec */)
455 420
456 // WebIDBIndex::~WebIDBIndex() message. 421 // WebIDBIndex::~WebIDBIndex() message.
457 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_IndexDestroyed, 422 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_IndexDestroyed,
458 int32 /* idb_index_id */) 423 int32 /* idb_index_id */)
459 424
460 // WebIDBObjectStore::name() message.
461 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreName,
462 int32, /* idb_object_store_id */
463 string16 /* name */)
464
465 // WebIDBObjectStore::keyPath() message.
466 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreKeyPath,
467 int32, /* idb_object_store_id */
468 content::IndexedDBKeyPath /* keyPath */)
469
470 // WebIDBObjectStore::indexNames() message.
471 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreIndexNames,
472 int32, /* idb_object_store_id */
473 std::vector<string16> /* index_names */)
474
475 // WebIDBObjectStore::autoIncrement() message.
476 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_ObjectStoreAutoIncrement,
477 int32, /* idb_object_store_id */
478 bool /* auto_increment */)
479
480 // WebIDBObjectStore::get() message. 425 // WebIDBObjectStore::get() message.
481 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet, 426 IPC_SYNC_MESSAGE_CONTROL5_1(IndexedDBHostMsg_ObjectStoreGet,
482 int32, /* idb_object_store_id */ 427 int32, /* idb_object_store_id */
483 int32, /* thread_id */ 428 int32, /* thread_id */
484 int32, /* response_id */ 429 int32, /* response_id */
485 content::IndexedDBKeyRange, /* key_range */ 430 content::IndexedDBKeyRange, /* key_range */
486 int32, /* transaction_id */ 431 int32, /* transaction_id */
487 WebKit::WebExceptionCode /* ec */) 432 WebKit::WebExceptionCode /* ec */)
488 433
489 // WebIDBObjectStore::put() message. 434 // WebIDBObjectStore::put() message.
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 507 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
563 int32 /* idb_transaction_id */) 508 int32 /* idb_transaction_id */)
564 509
565 // IDBTransaction::DidCompleteTaskEvents() message. 510 // IDBTransaction::DidCompleteTaskEvents() message.
566 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 511 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
567 int32 /* idb_transaction_id */) 512 int32 /* idb_transaction_id */)
568 513
569 // WebIDBTransaction::~WebIDBTransaction() message. 514 // WebIDBTransaction::~WebIDBTransaction() message.
570 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 515 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
571 int32 /* idb_transaction_id */) 516 int32 /* idb_transaction_id */)
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.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