summaryrefslogtreecommitdiffstats
path: root/content/renderer/renderer_webidbfactory_impl.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 01:33:34 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 01:33:34 +0000
commitacb94729d3aa35ec833c922ade31340229770d60 (patch)
tree7c26a239c8b9e09b78f809a308e081329625c8b2 /content/renderer/renderer_webidbfactory_impl.h
parent4874aae4718d407f7f4de1b71f0c02b9a2065474 (diff)
downloadchromium_src-acb94729d3aa35ec833c922ade31340229770d60.zip
chromium_src-acb94729d3aa35ec833c922ade31340229770d60.tar.gz
chromium_src-acb94729d3aa35ec833c922ade31340229770d60.tar.bz2
Move the renderer_web* files to content.
TBR=avi Review URL: http://codereview.chromium.org/6713024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78643 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/renderer_webidbfactory_impl.h')
-rw-r--r--content/renderer/renderer_webidbfactory_impl.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/content/renderer/renderer_webidbfactory_impl.h b/content/renderer/renderer_webidbfactory_impl.h
new file mode 100644
index 0000000..941dc81
--- /dev/null
+++ b/content/renderer/renderer_webidbfactory_impl.h
@@ -0,0 +1,43 @@
+// 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 CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_
+#define CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_
+#pragma once
+
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h"
+
+namespace WebKit {
+class WebDOMStringList;
+class WebFrame;
+class WebIDBDatabase;
+class WebSecurityOrigin;
+class WebString;
+}
+
+class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory {
+ public:
+ RendererWebIDBFactoryImpl();
+ virtual ~RendererWebIDBFactoryImpl();
+
+ // See WebIDBFactory.h for documentation on these functions.
+ virtual void open(
+ const WebKit::WebString& name,
+ WebKit::WebIDBCallbacks* callbacks,
+ const WebKit::WebSecurityOrigin& origin,
+ WebKit::WebFrame* web_frame,
+ const WebKit::WebString& data_dir,
+ unsigned long long maximum_size,
+ WebKit::WebIDBFactory::BackingStoreType);
+ virtual void deleteDatabase(
+ const WebKit::WebString& name,
+ WebKit::WebIDBCallbacks* callbacks,
+ const WebKit::WebSecurityOrigin& origin,
+ WebKit::WebFrame* web_frame,
+ const WebKit::WebString& data_dir);
+};
+
+#endif // CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_