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

Side by Side Diff: content/common/indexed_db/proxy_webidbindex_impl.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_
6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ 6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h"
11 11
12 namespace content {
13
12 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex { 14 class RendererWebIDBIndexImpl : public WebKit::WebIDBIndex {
13 public: 15 public:
14 explicit RendererWebIDBIndexImpl(int32 idb_index_id); 16 explicit RendererWebIDBIndexImpl(int32 idb_index_id);
15 virtual ~RendererWebIDBIndexImpl(); 17 virtual ~RendererWebIDBIndexImpl();
16 18
17 // WebKit::WebIDBIndex 19 // WebKit::WebIDBIndex
18 virtual void openObjectCursor(const WebKit::WebIDBKeyRange& range, 20 virtual void openObjectCursor(const WebKit::WebIDBKeyRange& range,
19 unsigned short direction, 21 unsigned short direction,
20 WebKit::WebIDBCallbacks* callbacks, 22 WebKit::WebIDBCallbacks* callbacks,
21 const WebKit::WebIDBTransaction& transaction, 23 const WebKit::WebIDBTransaction& transaction,
(...skipping 13 matching lines...) Expand all
35 WebKit::WebExceptionCode& ec); 37 WebKit::WebExceptionCode& ec);
36 virtual void getKey(const WebKit::WebIDBKeyRange& key_range, 38 virtual void getKey(const WebKit::WebIDBKeyRange& key_range,
37 WebKit::WebIDBCallbacks* callbacks, 39 WebKit::WebIDBCallbacks* callbacks,
38 const WebKit::WebIDBTransaction& transaction, 40 const WebKit::WebIDBTransaction& transaction,
39 WebKit::WebExceptionCode& ec); 41 WebKit::WebExceptionCode& ec);
40 42
41 private: 43 private:
42 int32 idb_index_id_; 44 int32 idb_index_id_;
43 }; 45 };
44 46
47 } // namespace content
48
45 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_ 49 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBINDEX_IMPL_H_
50
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbfactory_impl.cc ('k') | content/common/indexed_db/proxy_webidbindex_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698