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

Unified Diff: chrome/renderer/renderer_webidbobjectstore_impl.h

Issue 2740003: Implement IDBDatabase::createObjectStore. Also refactor IndexedDBCallbacks. (Closed)
Patch Set: Make sure indexed_db_context.cc is in the gypi file. Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/renderer_webidbdatabase_impl.cc ('k') | chrome/renderer/renderer_webidbobjectstore_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_webidbobjectstore_impl.h
diff --git a/chrome/renderer/renderer_webidbobjectstore_impl.h b/chrome/renderer/renderer_webidbobjectstore_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..ecada92e592adb269ac1deaea031e118e5d7ae4b
--- /dev/null
+++ b/chrome/renderer/renderer_webidbobjectstore_impl.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
+#define CHROME_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
+
+#include "base/basictypes.h"
+#include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h"
+#include "third_party/WebKit/WebKit/chromium/public/WebIDBObjectStore.h"
+
+namespace WebKit {
+class WebFrame;
+class WebIDBCallbacks;
+class WebString;
+}
+
+class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore {
+ public:
+ explicit RendererWebIDBObjectStoreImpl(int32 idb_object_store_id);
+ virtual ~RendererWebIDBObjectStoreImpl();
+
+ // WebKit::WebIDBObjectStore
+ virtual WebKit::WebString name() const;
+ virtual WebKit::WebString keyPath() const;
+
+ private:
+ int32 idb_object_store_id_;
+};
+
+#endif // CHROME_RENDERER_RENDERER_WEBIDBOBJECTSTORE_IMPL_H_
« no previous file with comments | « chrome/renderer/renderer_webidbdatabase_impl.cc ('k') | chrome/renderer/renderer_webidbobjectstore_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698