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

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

Issue 2255853003: IndexedDB: ScopedVector<T> -> vector<unique_ptr<T>> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback Created 4 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) 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 void GetAll(int64_t transaction_id, 155 void GetAll(int64_t transaction_id,
156 int64_t object_store_id, 156 int64_t object_store_id,
157 int64_t index_id, 157 int64_t index_id,
158 std::unique_ptr<IndexedDBKeyRange> key_range, 158 std::unique_ptr<IndexedDBKeyRange> key_range,
159 bool key_only, 159 bool key_only,
160 int64_t max_count, 160 int64_t max_count,
161 scoped_refptr<IndexedDBCallbacks> callbacks); 161 scoped_refptr<IndexedDBCallbacks> callbacks);
162 void Put(int64_t transaction_id, 162 void Put(int64_t transaction_id,
163 int64_t object_store_id, 163 int64_t object_store_id,
164 IndexedDBValue* value, 164 IndexedDBValue* value,
165 ScopedVector<storage::BlobDataHandle>* handles, 165 std::vector<std::unique_ptr<storage::BlobDataHandle>>* handles,
166 std::unique_ptr<IndexedDBKey> key, 166 std::unique_ptr<IndexedDBKey> key,
167 blink::WebIDBPutMode mode, 167 blink::WebIDBPutMode mode,
168 scoped_refptr<IndexedDBCallbacks> callbacks, 168 scoped_refptr<IndexedDBCallbacks> callbacks,
169 const std::vector<IndexKeys>& index_keys); 169 const std::vector<IndexKeys>& index_keys);
170 void SetIndexKeys(int64_t transaction_id, 170 void SetIndexKeys(int64_t transaction_id,
171 int64_t object_store_id, 171 int64_t object_store_id,
172 std::unique_ptr<IndexedDBKey> primary_key, 172 std::unique_ptr<IndexedDBKey> primary_key,
173 const std::vector<IndexKeys>& index_keys); 173 const std::vector<IndexKeys>& index_keys);
174 void SetIndexesReady(int64_t transaction_id, 174 void SetIndexesReady(int64_t transaction_id,
175 int64_t object_store_id, 175 int64_t object_store_id,
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 bool processing_pending_requests_ = false; 335 bool processing_pending_requests_ = false;
336 336
337 bool experimental_web_platform_features_enabled_; 337 bool experimental_web_platform_features_enabled_;
338 338
339 DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabase); 339 DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabase);
340 }; 340 };
341 341
342 } // namespace content 342 } // namespace content
343 343
344 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ 344 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_connection.cc ('k') | content/browser/indexed_db/indexed_db_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698