OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_INDEXED_DB_WEBIDBCURSOR_IMPL_H_ | |
6 #define CONTENT_BROWSER_INDEXED_DB_WEBIDBCURSOR_IMPL_H_ | |
7 | |
8 #include "base/memory/ref_counted.h" | |
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBCursor.h" | |
10 | |
11 namespace content { | |
12 class IndexedDBCursor; | |
13 | |
14 class WebIDBCursorImpl : public WebKit::WebIDBCursor { | |
15 public: | |
16 explicit WebIDBCursorImpl(scoped_refptr<IndexedDBCursor>); | |
17 virtual ~WebIDBCursorImpl(); | |
18 | |
19 virtual void advance(unsigned long, WebKit::WebIDBCallbacks*); | |
jamesr
2013/05/22 18:59:44
chromium style requires names for all parameters
jsbell
2013/05/22 22:21:14
Done. (There may still be some lingering mismatche
| |
20 virtual void continueFunction(const WebKit::WebIDBKey&, | |
21 WebKit::WebIDBCallbacks*); | |
22 virtual void deleteFunction(WebKit::WebIDBCallbacks* callbacks); | |
23 virtual void prefetchContinue(int number_to_fetch, WebKit::WebIDBCallbacks*); | |
24 virtual void prefetchReset(int used_prefetches, int unused_prefetches); | |
25 | |
26 private: | |
27 scoped_refptr<IndexedDBCursor> idb_cursor_backend_; | |
28 }; | |
29 | |
30 } // namespace content | |
31 | |
32 #endif // CONTENT_BROWSER_INDEXED_DB_WEBIDBCURSOR_IMPL_H_ | |
OLD | NEW |