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

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

Issue 11193003: IndexedDB: Delete old IPC plumbing following WK99097 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 int32 response_id, 249 int32 response_id,
250 int code, 250 int code,
251 const string16& message); 251 const string16& message);
252 void OnBlocked(int32 thread_id, int32 response_id); 252 void OnBlocked(int32 thread_id, int32 response_id);
253 void OnIntBlocked(int32 thread_id, int32 response_id, int64 existing_version); 253 void OnIntBlocked(int32 thread_id, int32 response_id, int64 existing_version);
254 void OnUpgradeNeeded(int32 thread_id, 254 void OnUpgradeNeeded(int32 thread_id,
255 int32 response_id, 255 int32 response_id,
256 int32 transaction_id, 256 int32 transaction_id,
257 int32 database_id, 257 int32 database_id,
258 int64 old_version); 258 int64 old_version);
259 // TODO(jsbell): Remove once WK99097 has landed.
260 void OnAbortLegacy(int32 thread_id, int32 transaction_id);
261 void OnAbort(int32 thread_id, 259 void OnAbort(int32 thread_id,
262 int32 transaction_id, 260 int32 transaction_id,
263 int code, 261 int code,
264 const string16& message); 262 const string16& message);
265 void OnComplete(int32 thread_id, int32 transaction_id); 263 void OnComplete(int32 thread_id, int32 transaction_id);
266 void OnForcedClose(int32 thread_id, int32 database_id); 264 void OnForcedClose(int32 thread_id, int32 database_id);
267 void OnVersionChange(int32 thread_id, 265 void OnVersionChange(int32 thread_id,
268 int32 database_id, 266 int32 database_id,
269 const string16& newVersion); 267 const string16& newVersion);
270 void OnIntVersionChange(int32 thread_id, 268 void OnIntVersionChange(int32 thread_id,
(...skipping 14 matching lines...) Expand all
285 283
286 // Map from cursor id to RendererWebIDBCursorImpl. 284 // Map from cursor id to RendererWebIDBCursorImpl.
287 std::map<int32, RendererWebIDBCursorImpl*> cursors_; 285 std::map<int32, RendererWebIDBCursorImpl*> cursors_;
288 286
289 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; 287 std::map<int32, RendererWebIDBDatabaseImpl*> databases_;
290 288
291 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 289 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
292 }; 290 };
293 291
294 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 292 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698