| OLD | NEW |
| 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_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
| 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 // IndexedDBCursor::Continue / Advance | 77 // IndexedDBCursor::Continue / Advance |
| 78 virtual void OnSuccess(const IndexedDBKey& key, | 78 virtual void OnSuccess(const IndexedDBKey& key, |
| 79 const IndexedDBKey& primary_key, | 79 const IndexedDBKey& primary_key, |
| 80 IndexedDBValue* value); | 80 IndexedDBValue* value); |
| 81 | 81 |
| 82 // IndexedDBCursor::PrefetchContinue | 82 // IndexedDBCursor::PrefetchContinue |
| 83 virtual void OnSuccessWithPrefetch( | 83 virtual void OnSuccessWithPrefetch( |
| 84 const std::vector<IndexedDBKey>& keys, | 84 const std::vector<IndexedDBKey>& keys, |
| 85 const std::vector<IndexedDBKey>& primary_keys, | 85 const std::vector<IndexedDBKey>& primary_keys, |
| 86 std::vector<IndexedDBValue>& values); | 86 std::vector<IndexedDBValue>* values); |
| 87 | 87 |
| 88 // IndexedDBDatabase::Get (with key injection) | 88 // IndexedDBDatabase::Get (with key injection) |
| 89 virtual void OnSuccess(IndexedDBValue* value, | 89 virtual void OnSuccess(IndexedDBValue* value, |
| 90 const IndexedDBKey& key, | 90 const IndexedDBKey& key, |
| 91 const IndexedDBKeyPath& key_path); | 91 const IndexedDBKeyPath& key_path); |
| 92 | 92 |
| 93 // IndexedDBDatabase::Get | 93 // IndexedDBDatabase::Get |
| 94 virtual void OnSuccess(IndexedDBValue* value); | 94 virtual void OnSuccess(IndexedDBValue* value); |
| 95 | 95 |
| 96 // IndexedDBDatabase::Put / IndexedDBCursor::Update | 96 // IndexedDBDatabase::Put / IndexedDBCursor::Update |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 std::string data_loss_message_; | 134 std::string data_loss_message_; |
| 135 | 135 |
| 136 // The "blocked" event should be sent at most once per request. | 136 // The "blocked" event should be sent at most once per request. |
| 137 bool sent_blocked_; | 137 bool sent_blocked_; |
| 138 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks); | 138 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace content | 141 } // namespace content |
| 142 | 142 |
| 143 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 143 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
| OLD | NEW |