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

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

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_process_impl.h ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_WEBIDBOBJECTSTORE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h"
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebFrame; 14 class WebFrame;
15 class WebIDBCallbacks; 15 class WebIDBCallbacks;
16 class WebIDBIndex; 16 class WebIDBIndex;
17 class WebIDBKey; 17 class WebIDBKey;
18 class WebIDBKeyRange; 18 class WebIDBKeyRange;
19 class WebString; 19 class WebString;
20 } 20 }
21 21
22 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore { 22 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore {
23 public: 23 public:
24 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id); 24 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id);
25 ~RendererWebIDBObjectStoreImpl(); 25 virtual ~RendererWebIDBObjectStoreImpl();
26 26
27 // WebKit::WebIDBObjectStore 27 // WebKit::WebIDBObjectStore
28 virtual WebKit::WebString name() const; 28 virtual WebKit::WebString name() const;
29 virtual WebKit::WebString keyPath() const; 29 virtual WebKit::WebString keyPath() const;
30 virtual WebKit::WebDOMStringList indexNames() const; 30 virtual WebKit::WebDOMStringList indexNames() const;
31 31
32 virtual void get(const WebKit::WebIDBKey& key, 32 virtual void get(const WebKit::WebIDBKey& key,
33 WebKit::WebIDBCallbacks* callbacks, 33 WebKit::WebIDBCallbacks* callbacks,
34 const WebKit::WebIDBTransaction& transaction, 34 const WebKit::WebIDBTransaction& transaction,
35 WebKit::WebExceptionCode& ec); 35 WebKit::WebExceptionCode& ec);
(...skipping 27 matching lines...) Expand all
63 virtual void openCursor(const WebKit::WebIDBKeyRange& idb_key_range, 63 virtual void openCursor(const WebKit::WebIDBKeyRange& idb_key_range,
64 unsigned short direction, 64 unsigned short direction,
65 WebKit::WebIDBCallbacks* callbacks, 65 WebKit::WebIDBCallbacks* callbacks,
66 const WebKit::WebIDBTransaction& transaction, 66 const WebKit::WebIDBTransaction& transaction,
67 WebKit::WebExceptionCode& ec); 67 WebKit::WebExceptionCode& ec);
68 private: 68 private:
69 int32 idb_object_store_id_; 69 int32 idb_object_store_id_;
70 }; 70 };
71 71
72 #endif // CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_ 72 #endif // CONTENT_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_process_impl.h ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698