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

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: Limiting response size to 10 MB 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // IndexedDBCursor::PrefetchContinue 83 // IndexedDBCursor::PrefetchContinue
84 virtual void OnSuccessWithPrefetch( 84 virtual void OnSuccessWithPrefetch(
85 const std::vector<IndexedDBKey>& keys, 85 const std::vector<IndexedDBKey>& keys,
86 const std::vector<IndexedDBKey>& primary_keys, 86 const std::vector<IndexedDBKey>& primary_keys,
87 std::vector<IndexedDBValue>* values); 87 std::vector<IndexedDBValue>* values);
88 88
89 // IndexedDBDatabase::Get 89 // IndexedDBDatabase::Get
90 // IndexedDBCursor::Advance 90 // IndexedDBCursor::Advance
91 virtual void OnSuccess(IndexedDBReturnValue* value); 91 virtual void OnSuccess(IndexedDBReturnValue* value);
92 92
93 // IndexedDBDatabase::GetAll
94 virtual void OnSuccessArray(std::vector<IndexedDBReturnValue>* values,
95 const IndexedDBKeyPath& key_path);
96
93 // IndexedDBDatabase::Put / IndexedDBCursor::Update 97 // IndexedDBDatabase::Put / IndexedDBCursor::Update
94 virtual void OnSuccess(const IndexedDBKey& key); 98 virtual void OnSuccess(const IndexedDBKey& key);
95 99
96 // IndexedDBDatabase::Count 100 // IndexedDBDatabase::Count
97 // IndexedDBFactory::DeleteDatabase 101 // IndexedDBFactory::DeleteDatabase
98 virtual void OnSuccess(int64 value); 102 virtual void OnSuccess(int64 value);
99 103
100 // IndexedDBDatabase::Delete 104 // IndexedDBDatabase::Delete
101 // IndexedDBCursor::Continue / Advance (when complete) 105 // IndexedDBCursor::Continue / Advance (when complete)
102 virtual void OnSuccess(); 106 virtual void OnSuccess();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 138
135 // The "blocked" event should be sent at most once per request. 139 // The "blocked" event should be sent at most once per request.
136 bool sent_blocked_; 140 bool sent_blocked_;
137 base::TimeTicks connection_open_start_time_; 141 base::TimeTicks connection_open_start_time_;
138 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks); 142 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks);
139 }; 143 };
140 144
141 } // namespace content 145 } // namespace content
142 146
143 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ 147 #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_callbacks.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698