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

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

Issue 10831138: Remove a ton of IPC from landing putWithIndexKeys (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Additional stuff found with lint Created 8 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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 WebKit::WebIDBCallbacks* callbacks, 75 WebKit::WebIDBCallbacks* callbacks,
76 const string16& origin, 76 const string16& origin,
77 WebKit::WebFrame* web_frame); 77 WebKit::WebFrame* web_frame);
78 78
79 void RequestIDBFactoryDeleteDatabase( 79 void RequestIDBFactoryDeleteDatabase(
80 const string16& name, 80 const string16& name,
81 WebKit::WebIDBCallbacks* callbacks, 81 WebKit::WebIDBCallbacks* callbacks,
82 const string16& origin, 82 const string16& origin,
83 WebKit::WebFrame* web_frame); 83 WebKit::WebFrame* web_frame);
84 84
85 void RequestIDBCursorUpdate(
86 const content::SerializedScriptValue& value,
87 WebKit::WebIDBCallbacks* callbacks_ptr,
88 int32 idb_cursor_id,
89 WebKit::WebExceptionCode* ec);
90
91 void RequestIDBCursorAdvance( 85 void RequestIDBCursorAdvance(
92 unsigned long count, 86 unsigned long count,
93 WebKit::WebIDBCallbacks* callbacks_ptr, 87 WebKit::WebIDBCallbacks* callbacks_ptr,
94 int32 idb_cursor_id, 88 int32 idb_cursor_id,
95 WebKit::WebExceptionCode* ec); 89 WebKit::WebExceptionCode* ec);
96 90
97 void RequestIDBCursorContinue( 91 void RequestIDBCursorContinue(
98 const content::IndexedDBKey& key, 92 const content::IndexedDBKey& key,
99 WebKit::WebIDBCallbacks* callbacks_ptr, 93 WebKit::WebIDBCallbacks* callbacks_ptr,
100 int32 idb_cursor_id, 94 int32 idb_cursor_id,
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 280
287 // Map from cursor id to RendererWebIDBCursorImpl. 281 // Map from cursor id to RendererWebIDBCursorImpl.
288 std::map<int32, RendererWebIDBCursorImpl*> cursors_; 282 std::map<int32, RendererWebIDBCursorImpl*> cursors_;
289 283
290 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; 284 std::map<int32, RendererWebIDBDatabaseImpl*> databases_;
291 285
292 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 286 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
293 }; 287 };
294 288
295 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 289 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698