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

Side by Side Diff: chrome/common/indexed_db_messages.h

Issue 6513002: indexeddb: make setVersion fire blocked event if other connections are open (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_COMMON_INDEXED_DB_MESSAGES_H_ 5 #ifndef CHROME_COMMON_INDEXED_DB_MESSAGES_H_
6 #define CHROME_COMMON_INDEXED_DB_MESSAGES_H_ 6 #define CHROME_COMMON_INDEXED_DB_MESSAGES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/common/indexed_db_key.h" 9 #include "chrome/common/indexed_db_key.h"
10 #include "chrome/common/indexed_db_param_traits.h" 10 #include "chrome/common/indexed_db_param_traits.h"
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBTransaction, 243 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBTransaction,
244 int32 /* response_id */, 244 int32 /* response_id */,
245 int32 /* idb_transaction_id */) 245 int32 /* idb_transaction_id */)
246 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessSerializedScriptValue, 246 IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessSerializedScriptValue,
247 int32 /* response_id */, 247 int32 /* response_id */,
248 SerializedScriptValue /* serialized_script_value */) 248 SerializedScriptValue /* serialized_script_value */)
249 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksError, 249 IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksError,
250 int32 /* response_id */, 250 int32 /* response_id */,
251 int /* code */, 251 int /* code */,
252 string16 /* message */) 252 string16 /* message */)
253 IPC_MESSAGE_CONTROL1(IndexedDBMsg_CallbacksBlocked,
254 int32 /* response_id */)
253 255
254 // IDBTransactionCallback message handlers. 256 // IDBTransactionCallback message handlers.
255 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksAbort, 257 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksAbort,
256 int32 /* transaction_id */) 258 int32 /* transaction_id */)
257 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksComplete, 259 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksComplete,
258 int32 /* transaction_id */) 260 int32 /* transaction_id */)
259 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksTimeout, 261 IPC_MESSAGE_CONTROL1(IndexedDBMsg_TransactionCallbacksTimeout,
260 int32 /* transaction_id */) 262 int32 /* transaction_id */)
261 263
262 264
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 // to its real ID asynchronously. 346 // to its real ID asynchronously.
345 IPC_SYNC_MESSAGE_CONTROL4_2(IndexedDBHostMsg_DatabaseTransaction, 347 IPC_SYNC_MESSAGE_CONTROL4_2(IndexedDBHostMsg_DatabaseTransaction,
346 int32, /* idb_database_id */ 348 int32, /* idb_database_id */
347 std::vector<string16>, /* object_stores */ 349 std::vector<string16>, /* object_stores */
348 int32, /* mode */ 350 int32, /* mode */
349 int32, /* timeout */ 351 int32, /* timeout */
350 int32, /* idb_transaction_id */ 352 int32, /* idb_transaction_id */
351 WebKit::WebExceptionCode /* ec */) 353 WebKit::WebExceptionCode /* ec */)
352 354
353 // WebIDBDatabase::close() message. 355 // WebIDBDatabase::close() message.
356 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseOpen,
357 int32 /* idb_database_id */)
358
359 // WebIDBDatabase::close() message.
354 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose, 360 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseClose,
355 int32 /* idb_database_id */) 361 int32 /* idb_database_id */)
356 362
357 // WebIDBDatabase::~WebIDBDatabase() message. 363 // WebIDBDatabase::~WebIDBDatabase() message.
358 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseDestroyed, 364 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_DatabaseDestroyed,
359 int32 /* idb_database_id */) 365 int32 /* idb_database_id */)
360 366
361 // WebIDBIndex::name() message. 367 // WebIDBIndex::name() message.
362 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexName, 368 IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_IndexName,
363 int32, /* idb_index_id */ 369 int32, /* idb_index_id */
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 508
503 // IDBTransaction::DidCompleteTaskEvents() message. 509 // IDBTransaction::DidCompleteTaskEvents() message.
504 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents, 510 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDidCompleteTaskEvents,
505 int32 /* idb_transaction_id */) 511 int32 /* idb_transaction_id */)
506 512
507 // WebIDBTransaction::~WebIDBTransaction() message. 513 // WebIDBTransaction::~WebIDBTransaction() message.
508 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed, 514 IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_TransactionDestroyed,
509 int32 /* idb_transaction_id */) 515 int32 /* idb_transaction_id */)
510 516
511 #endif // CHROME_COMMON_INDEXED_DB_MESSAGES_H_ 517 #endif // CHROME_COMMON_INDEXED_DB_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/browser/in_process_webkit/indexed_db_callbacks.cc ('k') | chrome/renderer/indexed_db_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698