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

Side by Side Diff: content/common/indexed_db/proxy_webidbobjectstore_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, 1 month 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_WEBIDBOBJECTSTORE_IMPL_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_
6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ 6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_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/WebIDBObjectStore.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h"
11 11
12 namespace WebKit { 12 namespace WebKit {
13 class WebIDBCallbacks; 13 class WebIDBCallbacks;
14 class WebIDBIndex; 14 class WebIDBIndex;
15 class WebIDBKey; 15 class WebIDBKey;
16 class WebIDBKeyRange; 16 class WebIDBKeyRange;
17 class WebString; 17 class WebString;
18 } 18 }
19 19
20 namespace content {
21
20 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore { 22 class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore {
21 public: 23 public:
22 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id); 24 explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id);
23 virtual ~RendererWebIDBObjectStoreImpl(); 25 virtual ~RendererWebIDBObjectStoreImpl();
24 26
25 // TODO(alecflett): Remove this when it is removed from webkit: 27 // TODO(alecflett): Remove this when it is removed from webkit:
26 // https://bugs.webkit.org/show_bug.cgi?id=98085 28 // https://bugs.webkit.org/show_bug.cgi?id=98085
27 static const long long AutogenerateIndexId = -1; 29 static const long long AutogenerateIndexId = -1;
28 30
29 // WebKit::WebIDBObjectStore 31 // WebKit::WebIDBObjectStore
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 81
80 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range, 82 virtual void count(const WebKit::WebIDBKeyRange& idb_key_range,
81 WebKit::WebIDBCallbacks* callbacks, 83 WebKit::WebIDBCallbacks* callbacks,
82 const WebKit::WebIDBTransaction& transaction, 84 const WebKit::WebIDBTransaction& transaction,
83 WebKit::WebExceptionCode& ec); 85 WebKit::WebExceptionCode& ec);
84 86
85 private: 87 private:
86 int32 idb_object_store_id_; 88 int32 idb_object_store_id_;
87 }; 89 };
88 90
91 } // namespace content
92
89 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_ 93 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBOBJECTSTORE_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbindex_impl.cc ('k') | content/common/indexed_db/proxy_webidbobjectstore_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698