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

Side by Side Diff: chrome/renderer/renderer_webidbindex_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
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_WEBIDBINDEX_IMPL_H_ 5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ 6 #define CHROME_RENDERER_RENDERER_WEBIDBINDEX_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/WebIDBIndex.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBIndex.h"
11 11
12 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex { 12 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex {
13 public: 13 public:
14 explicit RendererWebIDBIndexImpl(int32 idb_index_id); 14 explicit RendererWebIDBIndexImpl(int32 idb_index_id);
15 virtual ~RendererWebIDBIndexImpl(); 15 virtual ~RendererWebIDBIndexImpl();
16 16
17 // WebKit::WebIDBIndex 17 // WebKit::WebIDBIndex
18 virtual WebKit::WebString name(); 18 virtual WebKit::WebString name() const;
19 virtual WebKit::WebString keyPath(); 19 virtual WebKit::WebString keyPath() const;
20 virtual bool unique(); 20 virtual bool unique() const;
21 21
22 private: 22 private:
23 int32 idb_index_id_; 23 int32 idb_index_id_;
24 }; 24 };
25 25
26 #endif // CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_ 26 #endif // CHROME_RENDERER_RENDERER_WEBIDBINDEX_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_webidbdatabase_impl.cc ('k') | chrome/renderer/renderer_webidbindex_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698