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

Side by Side Diff: content/child/indexed_db/webidbdatabase_impl.h

Issue 1074493002: IndexedDB: Added IDBObjectStore.getAll() implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unused indexId/keyOnly parameters to getAll. Created 5 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ 5 #ifndef CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_
6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ 6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCursor.h" 10 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCursor.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 virtual void close(); 44 virtual void close();
45 virtual void versionChangeIgnored(); 45 virtual void versionChangeIgnored();
46 46
47 virtual void get(long long transactionId, 47 virtual void get(long long transactionId,
48 long long objectStoreId, 48 long long objectStoreId,
49 long long indexId, 49 long long indexId,
50 const blink::WebIDBKeyRange&, 50 const blink::WebIDBKeyRange&,
51 bool keyOnly, 51 bool keyOnly,
52 blink::WebIDBCallbacks*); 52 blink::WebIDBCallbacks*);
53 virtual void getAll(long long transactionId,
54 long long objectStoreId,
55 long long indexId,
56 const blink::WebIDBKeyRange&,
57 long long maxCount,
58 bool keyOnly,
59 blink::WebIDBCallbacks*);
53 virtual void put(long long transactionId, 60 virtual void put(long long transactionId,
54 long long objectStoreId, 61 long long objectStoreId,
55 const blink::WebData& value, 62 const blink::WebData& value,
56 const blink::WebVector<blink::WebBlobInfo>& webBlobInfo, 63 const blink::WebVector<blink::WebBlobInfo>& webBlobInfo,
57 const blink::WebIDBKey&, 64 const blink::WebIDBKey&,
58 blink::WebIDBPutMode, 65 blink::WebIDBPutMode,
59 blink::WebIDBCallbacks*, 66 blink::WebIDBCallbacks*,
60 const blink::WebVector<long long>& indexIds, 67 const blink::WebVector<long long>& indexIds,
61 const blink::WebVector<WebIndexKeys>&); 68 const blink::WebVector<WebIndexKeys>&);
62 virtual void setIndexKeys(long long transactionId, 69 virtual void setIndexKeys(long long transactionId,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 111
105 private: 112 private:
106 int32 ipc_database_id_; 113 int32 ipc_database_id_;
107 int32 ipc_database_callbacks_id_; 114 int32 ipc_database_callbacks_id_;
108 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 115 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
109 }; 116 };
110 117
111 } // namespace content 118 } // namespace content
112 119
113 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ 120 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher_unittest.cc ('k') | content/child/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698