| OLD | NEW |
| 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 <vector> | 10 #include <vector> |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void TransactionFinishedAndAbortFired(IndexedDBTransaction* transaction); | 112 void TransactionFinishedAndAbortFired(IndexedDBTransaction* transaction); |
| 113 | 113 |
| 114 void Get(int64 transaction_id, | 114 void Get(int64 transaction_id, |
| 115 int64 object_store_id, | 115 int64 object_store_id, |
| 116 int64 index_id, | 116 int64 index_id, |
| 117 scoped_ptr<IndexedDBKeyRange> key_range, | 117 scoped_ptr<IndexedDBKeyRange> key_range, |
| 118 bool key_only, | 118 bool key_only, |
| 119 scoped_refptr<IndexedDBCallbacks> callbacks); | 119 scoped_refptr<IndexedDBCallbacks> callbacks); |
| 120 void Put(int64 transaction_id, | 120 void Put(int64 transaction_id, |
| 121 int64 object_store_id, | 121 int64 object_store_id, |
| 122 std::vector<char>* value, | 122 std::string* value, |
| 123 scoped_ptr<IndexedDBKey> key, | 123 scoped_ptr<IndexedDBKey> key, |
| 124 PutMode mode, | 124 PutMode mode, |
| 125 scoped_refptr<IndexedDBCallbacks> callbacks, | 125 scoped_refptr<IndexedDBCallbacks> callbacks, |
| 126 const std::vector<int64>& index_ids, | 126 const std::vector<int64>& index_ids, |
| 127 const std::vector<IndexKeys>& index_keys); | 127 const std::vector<IndexKeys>& index_keys); |
| 128 void SetIndexKeys(int64 transaction_id, | 128 void SetIndexKeys(int64 transaction_id, |
| 129 int64 object_store_id, | 129 int64 object_store_id, |
| 130 scoped_ptr<IndexedDBKey> primary_key, | 130 scoped_ptr<IndexedDBKey> primary_key, |
| 131 const std::vector<int64>& index_ids, | 131 const std::vector<int64>& index_ids, |
| 132 const std::vector<IndexKeys>& index_keys); | 132 const std::vector<IndexKeys>& index_keys); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 222 |
| 223 typedef list_set<IndexedDBConnection*> ConnectionSet; | 223 typedef list_set<IndexedDBConnection*> ConnectionSet; |
| 224 ConnectionSet connections_; | 224 ConnectionSet connections_; |
| 225 | 225 |
| 226 bool closing_connection_; | 226 bool closing_connection_; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 } // namespace content | 229 } // namespace content |
| 230 | 230 |
| 231 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ | 231 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ |
| OLD | NEW |