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

Side by Side Diff: content/renderer/renderer_webidbcursor_impl.h

Issue 7692006: IndexedDB API cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright presubmit Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDERER_WEBIDBCURSOR_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBIDBCURSOR_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBIDBCURSOR_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBIDBCURSOR_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/indexed_db_key.h" 9 #include "content/common/indexed_db_key.h"
10 #include "content/common/serialized_script_value.h" 10 #include "content/common/serialized_script_value.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h"
15 15
16 class RendererWebIDBCursorImpl : public WebKit::WebIDBCursor { 16 class RendererWebIDBCursorImpl : public WebKit::WebIDBCursor {
17 public: 17 public:
18 RendererWebIDBCursorImpl(int32 idb_cursor_id); 18 RendererWebIDBCursorImpl(int32 idb_cursor_id);
19 virtual ~RendererWebIDBCursorImpl(); 19 virtual ~RendererWebIDBCursorImpl();
20 20
21 virtual unsigned short direction() const; 21 virtual unsigned short direction() const;
22 virtual WebKit::WebIDBKey key() const; 22 virtual WebKit::WebIDBKey key() const;
23 virtual WebKit::WebIDBKey primaryKey() const; 23 virtual WebKit::WebIDBKey primaryKey() const;
24 virtual void value(WebKit::WebSerializedScriptValue&, 24 virtual WebKit::WebSerializedScriptValue value() const;
25 WebKit::WebIDBKey&) const;
26 virtual void update(const WebKit::WebSerializedScriptValue& value, 25 virtual void update(const WebKit::WebSerializedScriptValue& value,
27 WebKit::WebIDBCallbacks* callback, 26 WebKit::WebIDBCallbacks* callback,
28 WebKit::WebExceptionCode& ec); 27 WebKit::WebExceptionCode& ec);
29 virtual void continueFunction(const WebKit::WebIDBKey& key, 28 virtual void continueFunction(const WebKit::WebIDBKey& key,
30 WebKit::WebIDBCallbacks* callback, 29 WebKit::WebIDBCallbacks* callback,
31 WebKit::WebExceptionCode& ec); 30 WebKit::WebExceptionCode& ec);
32 virtual void remove(WebKit::WebIDBCallbacks* callback, 31 virtual void deleteFunction(WebKit::WebIDBCallbacks* callback,
33 WebKit::WebExceptionCode& ec); 32 WebKit::WebExceptionCode& ec);
34 33
35 private: 34 private:
36 int32 idb_cursor_id_; 35 int32 idb_cursor_id_;
37 }; 36 };
38 37
39 #endif // CONTENT_RENDERER_RENDERER_WEBIDBCURSOR_IMPL_H_ 38 #endif // CONTENT_RENDERER_RENDERER_WEBIDBCURSOR_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/indexed_db_dispatcher.cc ('k') | content/renderer/renderer_webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698