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

Side by Side Diff: chrome/renderer/indexed_db_dispatcher.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
« no previous file with comments | « chrome/common/indexed_db_messages.h ('k') | chrome/renderer/indexed_db_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_
6 #define CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_ 6 #define CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/nullable_string16.h" 10 #include "base/nullable_string16.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void OnSuccessNull(int32 response_id); 137 void OnSuccessNull(int32 response_id);
138 void OnSuccessIDBDatabase(int32 response_id, int32 object_id); 138 void OnSuccessIDBDatabase(int32 response_id, int32 object_id);
139 void OnSuccessIndexedDBKey(int32 response_id, const IndexedDBKey& key); 139 void OnSuccessIndexedDBKey(int32 response_id, const IndexedDBKey& key);
140 void OnSuccessIDBObjectStore(int32 response_id, int32 object_id); 140 void OnSuccessIDBObjectStore(int32 response_id, int32 object_id);
141 void OnSuccessIDBTransaction(int32 response_id, int32 object_id); 141 void OnSuccessIDBTransaction(int32 response_id, int32 object_id);
142 void OnSuccessIDBIndex(int32 response_id, int32 object_id); 142 void OnSuccessIDBIndex(int32 response_id, int32 object_id);
143 void OnSuccessOpenCursor(int32 response_id, int32 object_id); 143 void OnSuccessOpenCursor(int32 response_id, int32 object_id);
144 void OnSuccessSerializedScriptValue(int32 response_id, 144 void OnSuccessSerializedScriptValue(int32 response_id,
145 const SerializedScriptValue& value); 145 const SerializedScriptValue& value);
146 void OnError(int32 response_id, int code, const string16& message); 146 void OnError(int32 response_id, int code, const string16& message);
147 void OnBlocked(int32 response_id);
147 void OnAbort(int32 transaction_id); 148 void OnAbort(int32 transaction_id);
148 void OnComplete(int32 transaction_id); 149 void OnComplete(int32 transaction_id);
149 void OnTimeout(int32 transaction_id); 150 void OnTimeout(int32 transaction_id);
150 151
151 // Careful! WebIDBCallbacks wraps non-threadsafe data types. It must be 152 // Careful! WebIDBCallbacks wraps non-threadsafe data types. It must be
152 // destroyed and used on the same thread it was created on. 153 // destroyed and used on the same thread it was created on.
153 IDMap<WebKit::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_; 154 IDMap<WebKit::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_;
154 IDMap<WebKit::WebIDBTransactionCallbacks, IDMapOwnPointer> 155 IDMap<WebKit::WebIDBTransactionCallbacks, IDMapOwnPointer>
155 pending_transaction_callbacks_; 156 pending_transaction_callbacks_;
156 157
157 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 158 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
158 }; 159 };
159 160
160 #endif // CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_ 161 #endif // CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/common/indexed_db_messages.h ('k') | chrome/renderer/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698