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

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

Issue 1074493002: IndexedDB: Added IDBObjectStore.getAll() implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::GetAll
97 virtual void OnSuccessArray(std::vector<IndexedDBValue>* values);
98
96 // IndexedDBDatabase::Put / IndexedDBCursor::Update 99 // IndexedDBDatabase::Put / IndexedDBCursor::Update
97 virtual void OnSuccess(const IndexedDBKey& key); 100 virtual void OnSuccess(const IndexedDBKey& key);
98 101
99 // IndexedDBDatabase::Count 102 // IndexedDBDatabase::Count
100 // IndexedDBFactory::DeleteDatabase 103 // IndexedDBFactory::DeleteDatabase
101 virtual void OnSuccess(int64 value); 104 virtual void OnSuccess(int64 value);
102 105
103 // IndexedDBDatabase::Delete 106 // IndexedDBDatabase::Delete
104 // IndexedDBCursor::Continue / Advance (when complete) 107 // IndexedDBCursor::Continue / Advance (when complete)
105 virtual void OnSuccess(); 108 virtual void OnSuccess();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 140
138 // The "blocked" event should be sent at most once per request. 141 // The "blocked" event should be sent at most once per request.
139 bool sent_blocked_; 142 bool sent_blocked_;
140 base::TimeTicks connection_open_start_time_; 143 base::TimeTicks connection_open_start_time_;
141 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks); 144 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks);
142 }; 145 };
143 146
144 } // namespace content 147 } // namespace content
145 148
146 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ 149 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_callbacks.cc » ('j') | content/browser/indexed_db/indexed_db_database.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698