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

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: 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 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/WebIDBCursor.h" 10 #include "third_party/WebKit/public/platform/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 void getAll(long long transactionId,
54 long long objectStoreId,
55 const blink::WebIDBKeyRange&,
56 long long maxCount,
57 blink::WebIDBCallbacks*) override;
53 virtual void put(long long transactionId, 58 virtual void put(long long transactionId,
54 long long objectStoreId, 59 long long objectStoreId,
55 const blink::WebData& value, 60 const blink::WebData& value,
56 const blink::WebVector<blink::WebBlobInfo>& webBlobInfo, 61 const blink::WebVector<blink::WebBlobInfo>& webBlobInfo,
57 const blink::WebIDBKey&, 62 const blink::WebIDBKey&,
58 blink::WebIDBPutMode, 63 blink::WebIDBPutMode,
59 blink::WebIDBCallbacks*, 64 blink::WebIDBCallbacks*,
60 const blink::WebVector<long long>& indexIds, 65 const blink::WebVector<long long>& indexIds,
61 const blink::WebVector<WebIndexKeys>&); 66 const blink::WebVector<WebIndexKeys>&);
62 virtual void setIndexKeys(long long transactionId, 67 virtual void setIndexKeys(long long transactionId,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 109
105 private: 110 private:
106 int32 ipc_database_id_; 111 int32 ipc_database_id_;
107 int32 ipc_database_callbacks_id_; 112 int32 ipc_database_callbacks_id_;
108 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 113 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
109 }; 114 };
110 115
111 } // namespace content 116 } // namespace content
112 117
113 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ 118 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698