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

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

Issue 240003010: The chromium-side backchannel plumbing for blobs in IDB. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged out Created 6 years, 8 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 | « no previous file | content/child/indexed_db/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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 void RequestIDBDatabasePut( 130 void RequestIDBDatabasePut(
131 int32 ipc_database_id, 131 int32 ipc_database_id,
132 int64 transaction_id, 132 int64 transaction_id,
133 int64 object_store_id, 133 int64 object_store_id,
134 const blink::WebData& value, 134 const blink::WebData& value,
135 const blink::WebVector<blink::WebBlobInfo>& web_blob_info, 135 const blink::WebVector<blink::WebBlobInfo>& web_blob_info,
136 const IndexedDBKey& key, 136 const IndexedDBKey& key,
137 blink::WebIDBDatabase::PutMode put_mode, 137 blink::WebIDBDatabase::PutMode put_mode,
138 blink::WebIDBCallbacks* callbacks, 138 blink::WebIDBCallbacks* callbacks,
139 const blink::WebVector<long long>& index_ids, 139 const blink::WebVector<long long>& index_ids,
140 const blink::WebVector<blink::WebVector<blink::WebIDBKey> >& 140 const blink::WebVector<blink::WebVector<blink::WebIDBKey> >& index_keys);
141 index_keys);
142 141
143 void RequestIDBDatabaseOpenCursor(int32 ipc_database_id, 142 void RequestIDBDatabaseOpenCursor(int32 ipc_database_id,
144 int64 transaction_id, 143 int64 transaction_id,
145 int64 object_store_id, 144 int64 object_store_id,
146 int64 index_id, 145 int64 index_id,
147 const IndexedDBKeyRange& key_range, 146 const IndexedDBKeyRange& key_range,
148 blink::WebIDBCursor::Direction direction, 147 blink::WebIDBCursor::Direction direction,
149 bool key_only, 148 bool key_only,
150 blink::WebIDBDatabase::TaskType task_type, 149 blink::WebIDBDatabase::TaskType task_type,
151 blink::WebIDBCallbacks* callbacks); 150 blink::WebIDBCallbacks* callbacks);
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 std::map<int32, WebIDBCursorImpl*> cursors_; 257 std::map<int32, WebIDBCursorImpl*> cursors_;
259 258
260 std::map<int32, WebIDBDatabaseImpl*> databases_; 259 std::map<int32, WebIDBDatabaseImpl*> databases_;
261 260
262 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 261 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
263 }; 262 };
264 263
265 } // namespace content 264 } // namespace content
266 265
267 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 266 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/indexed_db/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698