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

Side by Side Diff: content/browser/indexed_db/indexed_db_database.h

Issue 810403004: [Storage] Blob Storage Refactoring pt 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: memory leak fixed Created 5 years, 11 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 void Get(int64 transaction_id, 119 void Get(int64 transaction_id,
120 int64 object_store_id, 120 int64 object_store_id,
121 int64 index_id, 121 int64 index_id,
122 scoped_ptr<IndexedDBKeyRange> key_range, 122 scoped_ptr<IndexedDBKeyRange> key_range,
123 bool key_only, 123 bool key_only,
124 scoped_refptr<IndexedDBCallbacks> callbacks); 124 scoped_refptr<IndexedDBCallbacks> callbacks);
125 void Put(int64 transaction_id, 125 void Put(int64 transaction_id,
126 int64 object_store_id, 126 int64 object_store_id,
127 IndexedDBValue* value, 127 IndexedDBValue* value,
128 ScopedVector<storage::BlobDataHandle>* handles, 128 ScopedVector<storage::BlobDataSnapshotHandle>* handles,
129 scoped_ptr<IndexedDBKey> key, 129 scoped_ptr<IndexedDBKey> key,
130 blink::WebIDBPutMode mode, 130 blink::WebIDBPutMode mode,
131 scoped_refptr<IndexedDBCallbacks> callbacks, 131 scoped_refptr<IndexedDBCallbacks> callbacks,
132 const std::vector<IndexKeys>& index_keys); 132 const std::vector<IndexKeys>& index_keys);
133 void SetIndexKeys(int64 transaction_id, 133 void SetIndexKeys(int64 transaction_id,
134 int64 object_store_id, 134 int64 object_store_id,
135 scoped_ptr<IndexedDBKey> primary_key, 135 scoped_ptr<IndexedDBKey> primary_key,
136 const std::vector<IndexKeys>& index_keys); 136 const std::vector<IndexKeys>& index_keys);
137 void SetIndexesReady(int64 transaction_id, 137 void SetIndexesReady(int64 transaction_id,
138 int64 object_store_id, 138 int64 object_store_id,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 PendingDeleteCallList pending_delete_calls_; 284 PendingDeleteCallList pending_delete_calls_;
285 285
286 ConnectionSet connections_; 286 ConnectionSet connections_;
287 287
288 DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabase); 288 DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabase);
289 }; 289 };
290 290
291 } // namespace content 291 } // namespace content
292 292
293 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ 293 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698