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

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

Issue 10533057: IPC plumbing for IndexedDB to snapshot metadata to the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't CamelCase "metadata" 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"
11 #include "content/common/indexed_db/indexed_db_key_range.h" 11 #include "content/common/indexed_db/indexed_db_key_range.h"
12 #include "content/common/indexed_db/indexed_db_metadata.h"
12 #include "content/common/indexed_db/indexed_db_param_traits.h" 13 #include "content/common/indexed_db/indexed_db_param_traits.h"
13 #include "content/public/common/serialized_script_value.h" 14 #include "content/public/common/serialized_script_value.h"
14 #include "ipc/ipc_message_macros.h" 15 #include "ipc/ipc_message_macros.h"
15 #include "ipc/ipc_param_traits.h" 16 #include "ipc/ipc_param_traits.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h"
18 19
19 #define IPC_MESSAGE_START IndexedDBMsgStart 20 #define IPC_MESSAGE_START IndexedDBMsgStart
20 21
21 // Argument structures used in messages 22 // Argument structures used in messages
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 IndexedDBHostMsg_FactoryGetDatabaseNames_Params) 303 IndexedDBHostMsg_FactoryGetDatabaseNames_Params)
303 304
304 // WebIDBFactory::open() message. 305 // WebIDBFactory::open() message.
305 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen, 306 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen,
306 IndexedDBHostMsg_FactoryOpen_Params) 307 IndexedDBHostMsg_FactoryOpen_Params)
307 308
308 // WebIDBFactory::deleteDatabase() message. 309 // WebIDBFactory::deleteDatabase() message.
309 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryDeleteDatabase, 310 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryDeleteDatabase,
310 IndexedDBHostMsg_FactoryDeleteDatabase_Params) 311 IndexedDBHostMsg_FactoryDeleteDatabase_Params)
311 312
313 // WebIDBDatabase::metadata() message.
314 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseMetadata,
315 int32, /* idb_database_id */
316 content::IndexedDBDatabaseMetadata /* metadata */)
317
312 // WebIDBDatabase::name() message. 318 // WebIDBDatabase::name() message.
313 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseName, 319 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseName,
314 int32, /* idb_database_id */ 320 int32, /* idb_database_id */
315 string16 /* name */) 321 string16 /* name */)
316 322
317 // WebIDBDatabase::version() message. 323 // WebIDBDatabase::version() message.
318 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseVersion, 324 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseVersion,
319 int32, /* idb_database_id */ 325 int32, /* idb_database_id */
320 string16 /* version */) 326 string16 /* version */)
321 327
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 549 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
544 int32 /* idb_transaction_id */) 550 int32 /* idb_transaction_id */)
545 551
546 // IDBTransaction::DidCompleteTaskEvents() message. 552 // IDBTransaction::DidCompleteTaskEvents() message.
547 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 553 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
548 int32 /* idb_transaction_id */) 554 int32 /* idb_transaction_id */)
549 555
550 // WebIDBTransaction::~WebIDBTransaction() message. 556 // WebIDBTransaction::~WebIDBTransaction() message.
551 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 557 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
552 int32 /* idb_transaction_id */) 558 int32 /* idb_transaction_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698