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

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

Issue 10778026: Pass intVersion along with the rest of the IDB metadata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove version from open params Created 8 years, 5 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 IPC_STRUCT_BEGIN(IndexedDBObjectStoreMetadata) 329 IPC_STRUCT_BEGIN(IndexedDBObjectStoreMetadata)
330 IPC_STRUCT_MEMBER(string16, name) 330 IPC_STRUCT_MEMBER(string16, name)
331 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, keyPath) 331 IPC_STRUCT_MEMBER(content::IndexedDBKeyPath, keyPath)
332 IPC_STRUCT_MEMBER(bool, autoIncrement) 332 IPC_STRUCT_MEMBER(bool, autoIncrement)
333 IPC_STRUCT_MEMBER(std::vector<IndexedDBIndexMetadata>, indexes) 333 IPC_STRUCT_MEMBER(std::vector<IndexedDBIndexMetadata>, indexes)
334 IPC_STRUCT_END() 334 IPC_STRUCT_END()
335 335
336 IPC_STRUCT_BEGIN(IndexedDBDatabaseMetadata) 336 IPC_STRUCT_BEGIN(IndexedDBDatabaseMetadata)
337 IPC_STRUCT_MEMBER(string16, name) 337 IPC_STRUCT_MEMBER(string16, name)
338 IPC_STRUCT_MEMBER(string16, version) 338 IPC_STRUCT_MEMBER(string16, version)
339 IPC_STRUCT_MEMBER(int64_t, intVersion)
339 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores) 340 IPC_STRUCT_MEMBER(std::vector<IndexedDBObjectStoreMetadata>, object_stores)
340 IPC_STRUCT_END() 341 IPC_STRUCT_END()
341 342
342 // WebIDBDatabase::metadata() message. 343 // WebIDBDatabase::metadata() message.
343 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseMetadata, 344 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_DatabaseMetadata,
344 int32, /* idb_database_id */ 345 int32, /* idb_database_id */
345 IndexedDBDatabaseMetadata /* metadata */) 346 IndexedDBDatabaseMetadata /* metadata */)
346 347
347 // WebIDBDatabase::createObjectStore() message. 348 // WebIDBDatabase::createObjectStore() message.
348 IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_DatabaseCreateObjectStore, 349 IPC_SYNC_MESSAGE_CONTROL1_2(IndexedDBHostMsg_DatabaseCreateObjectStore,
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort, 519 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionAbort,
519 int32 /* idb_transaction_id */) 520 int32 /* idb_transaction_id */)
520 521
521 // IDBTransaction::DidCompleteTaskEvents() message. 522 // IDBTransaction::DidCompleteTaskEvents() message.
522 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 523 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
523 int32 /* idb_transaction_id */) 524 int32 /* idb_transaction_id */)
524 525
525 // WebIDBTransaction::~WebIDBTransaction() message. 526 // WebIDBTransaction::~WebIDBTransaction() message.
526 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 527 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
527 int32 /* idb_transaction_id */) 528 int32 /* idb_transaction_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698