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

Side by Side Diff: chrome/renderer/renderer_webidbdatabase_impl.h

Issue 2891023: Coverity: Fix missing const on RendererWebIDBIndexImpl overridden methods. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: RendererWebIDBDatabaseImpl too Created 10 years, 5 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
« no previous file with comments | « no previous file | chrome/renderer/renderer_webidbdatabase_impl.cc » ('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 CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_ 5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_ 6 #define CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h" 9 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabase.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabase.h"
11 11
12 namespace WebKit { 12 namespace WebKit {
13 class WebFrame; 13 class WebFrame;
14 class WebIDBCallbacks; 14 class WebIDBCallbacks;
15 class WebString; 15 class WebString;
16 } 16 }
17 17
18 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase { 18 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
19 public: 19 public:
20 explicit RendererWebIDBDatabaseImpl(int32 idb_database_id); 20 explicit RendererWebIDBDatabaseImpl(int32 idb_database_id);
21 virtual ~RendererWebIDBDatabaseImpl(); 21 virtual ~RendererWebIDBDatabaseImpl();
22 22
23 // WebKit::WebIDBDatabase 23 // WebKit::WebIDBDatabase
24 virtual WebKit::WebString name(); 24 virtual WebKit::WebString name() const;
25 virtual WebKit::WebString description(); 25 virtual WebKit::WebString description() const;
26 virtual WebKit::WebString version(); 26 virtual WebKit::WebString version() const;
27 virtual WebKit::WebDOMStringList objectStores(); 27 virtual WebKit::WebDOMStringList objectStores() const;
28 virtual void createObjectStore( 28 virtual void createObjectStore(
29 const WebKit::WebString& name, const WebKit::WebString& key_path, 29 const WebKit::WebString& name, const WebKit::WebString& key_path,
30 bool auto_increment, WebKit::WebIDBCallbacks* callbacks); 30 bool auto_increment, WebKit::WebIDBCallbacks* callbacks);
31 31
32 private: 32 private:
33 int32 idb_database_id_; 33 int32 idb_database_id_;
34 }; 34 };
35 35
36 #endif // CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_ 36 #endif // CHROME_RENDERER_RENDERER_WEBIDBDATABASE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/renderer_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698