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

Side by Side Diff: content/renderer/indexed_db_dispatcher.h

Issue 7550055: Remove idb transaction callbacks onTimeout stuff that was removed from the spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove message definition Created 9 years, 4 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 | « content/common/indexed_db_messages.h ('k') | content/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 CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_
6 #define CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ 6 #define CONTENT_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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 void OnSuccessIndexedDBKey(int32 response_id, const IndexedDBKey& key); 152 void OnSuccessIndexedDBKey(int32 response_id, const IndexedDBKey& key);
153 void OnSuccessIDBTransaction(int32 response_id, int32 object_id); 153 void OnSuccessIDBTransaction(int32 response_id, int32 object_id);
154 void OnSuccessIDBIndex(int32 response_id, int32 object_id); 154 void OnSuccessIDBIndex(int32 response_id, int32 object_id);
155 void OnSuccessOpenCursor(int32 response_id, int32 object_id); 155 void OnSuccessOpenCursor(int32 response_id, int32 object_id);
156 void OnSuccessSerializedScriptValue(int32 response_id, 156 void OnSuccessSerializedScriptValue(int32 response_id,
157 const SerializedScriptValue& value); 157 const SerializedScriptValue& value);
158 void OnError(int32 response_id, int code, const string16& message); 158 void OnError(int32 response_id, int code, const string16& message);
159 void OnBlocked(int32 response_id); 159 void OnBlocked(int32 response_id);
160 void OnAbort(int32 transaction_id); 160 void OnAbort(int32 transaction_id);
161 void OnComplete(int32 transaction_id); 161 void OnComplete(int32 transaction_id);
162 void OnTimeout(int32 transaction_id);
163 void OnVersionChange(int32 database_id, const string16& newVersion); 162 void OnVersionChange(int32 database_id, const string16& newVersion);
164 163
165 // Careful! WebIDBCallbacks wraps non-threadsafe data types. It must be 164 // Careful! WebIDBCallbacks wraps non-threadsafe data types. It must be
166 // destroyed and used on the same thread it was created on. 165 // destroyed and used on the same thread it was created on.
167 IDMap<WebKit::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_; 166 IDMap<WebKit::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_;
168 IDMap<WebKit::WebIDBTransactionCallbacks, IDMapOwnPointer> 167 IDMap<WebKit::WebIDBTransactionCallbacks, IDMapOwnPointer>
169 pending_transaction_callbacks_; 168 pending_transaction_callbacks_;
170 IDMap<WebKit::WebIDBDatabaseCallbacks, IDMapOwnPointer> 169 IDMap<WebKit::WebIDBDatabaseCallbacks, IDMapOwnPointer>
171 pending_database_callbacks_; 170 pending_database_callbacks_;
172 171
173 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 172 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
174 }; 173 };
175 174
176 #endif // CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_ 175 #endif // CONTENT_RENDERER_INDEXED_DB_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db_messages.h ('k') | content/renderer/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698