summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authoradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-27 21:06:54 +0000
committeradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-27 21:06:54 +0000
commit23367489d8e0390baff52adb6bf791c736ab6db1 (patch)
treec9212ae0e06ce0d90b8e3b7c637dd2ee47d9ba56 /content
parenteb1de3cc0720af512b8a9d3672b5025f0e80a79f (diff)
downloadchromium_src-23367489d8e0390baff52adb6bf791c736ab6db1.zip
chromium_src-23367489d8e0390baff52adb6bf791c736ab6db1.tar.gz
chromium_src-23367489d8e0390baff52adb6bf791c736ab6db1.tar.bz2
Remove unused arguments from storage-related Chromium impls of Blink API
Also remove related unused session storage creation test harness code. This is the Chromium side of the blink-side http://crrev.com/17583016 R=darin@chromium.org, jsbell@chromium.org Review URL: https://codereview.chromium.org/17642005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/child/indexed_db/proxy_webidbfactory_impl.cc13
-rw-r--r--content/child/indexed_db/proxy_webidbfactory_impl.h9
-rw-r--r--content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc3
-rw-r--r--content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h3
-rw-r--r--content/renderer/render_view_impl.cc3
-rw-r--r--content/renderer/render_view_impl.h3
-rw-r--r--content/renderer/renderer_webkitplatformsupport_impl.cc3
-rw-r--r--content/renderer/renderer_webkitplatformsupport_impl.h3
-rw-r--r--content/worker/worker_webkitplatformsupport_impl.cc3
-rw-r--r--content/worker/worker_webkitplatformsupport_impl.h3
10 files changed, 14 insertions, 32 deletions
diff --git a/content/child/indexed_db/proxy_webidbfactory_impl.cc b/content/child/indexed_db/proxy_webidbfactory_impl.cc
index 720aae3..236a156 100644
--- a/content/child/indexed_db/proxy_webidbfactory_impl.cc
+++ b/content/child/indexed_db/proxy_webidbfactory_impl.cc
@@ -26,8 +26,7 @@ RendererWebIDBFactoryImpl::~RendererWebIDBFactoryImpl() {
void RendererWebIDBFactoryImpl::getDatabaseNames(
WebIDBCallbacks* callbacks,
- const WebString& database_identifier,
- const WebString& data_dir_unused) {
+ const WebString& database_identifier) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_);
dispatcher->RequestIDBFactoryGetDatabaseNames(
@@ -40,10 +39,7 @@ void RendererWebIDBFactoryImpl::open(
long long transaction_id,
WebIDBCallbacks* callbacks,
WebIDBDatabaseCallbacks* database_callbacks,
- const WebString& database_identifier,
- const WebString& data_dir) {
- // Don't send the data_dir. We know what we want on the Browser side of
- // things.
+ const WebString& database_identifier) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_);
dispatcher->RequestIDBFactoryOpen(
@@ -54,10 +50,7 @@ void RendererWebIDBFactoryImpl::open(
void RendererWebIDBFactoryImpl::deleteDatabase(
const WebString& name,
WebIDBCallbacks* callbacks,
- const WebString& database_identifier,
- const WebString& data_dir) {
- // Don't send the data_dir. We know what we want on the Browser side of
- // things.
+ const WebString& database_identifier) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_);
dispatcher->RequestIDBFactoryDeleteDatabase(
diff --git a/content/child/indexed_db/proxy_webidbfactory_impl.h b/content/child/indexed_db/proxy_webidbfactory_impl.h
index 3e10c69..9b7852d 100644
--- a/content/child/indexed_db/proxy_webidbfactory_impl.h
+++ b/content/child/indexed_db/proxy_webidbfactory_impl.h
@@ -26,21 +26,18 @@ class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory {
// See WebIDBFactory.h for documentation on these functions.
virtual void getDatabaseNames(
WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebString& database_identifier,
- const WebKit::WebString& data_dir);
+ const WebKit::WebString& database_identifier);
virtual void open(
const WebKit::WebString& name,
long long version,
long long transaction_id,
WebKit::WebIDBCallbacks* callbacks,
WebKit::WebIDBDatabaseCallbacks* databaseCallbacks,
- const WebKit::WebString& database_identifier,
- const WebKit::WebString& data_dir);
+ const WebKit::WebString& database_identifier);
virtual void deleteDatabase(
const WebKit::WebString& name,
WebKit::WebIDBCallbacks* callbacks,
- const WebKit::WebString& database_identifier,
- const WebKit::WebString& data_dir);
+ const WebKit::WebString& database_identifier);
private:
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
diff --git a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
index de43364..5e7dca6 100644
--- a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
+++ b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc
@@ -243,8 +243,7 @@ WebKit::WebData PpapiWebKitPlatformSupportImpl::loadResource(const char* name) {
}
WebKit::WebStorageNamespace*
-PpapiWebKitPlatformSupportImpl::createLocalStorageNamespace(
- const WebKit::WebString& path, unsigned quota) {
+PpapiWebKitPlatformSupportImpl::createLocalStorageNamespace() {
NOTREACHED();
return 0;
}
diff --git a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h
index 3ed674c..e1f0665 100644
--- a/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h
+++ b/content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h
@@ -39,8 +39,7 @@ class PpapiWebKitPlatformSupportImpl : public WebKitPlatformSupportImpl {
virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle();
virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*);
virtual WebKit::WebData loadResource(const char* name);
- virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
- const WebKit::WebString& path, unsigned quota);
+ virtual WebKit::WebStorageNamespace* createLocalStorageNamespace();
virtual void dispatchStorageEvent(const WebKit::WebString& key,
const WebKit::WebString& oldValue, const WebKit::WebString& newValue,
const WebKit::WebString& origin, const WebKit::WebURL& url,
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index e55fb8a..b19a1cb 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2195,8 +2195,7 @@ RenderWidgetFullscreenPepper* RenderViewImpl::CreatePepperFullscreenContainer(
#endif
}
-WebStorageNamespace* RenderViewImpl::createSessionStorageNamespace(
- unsigned quota) {
+WebStorageNamespace* RenderViewImpl::createSessionStorageNamespace() {
CHECK(session_storage_namespace_id_ !=
dom_storage::kInvalidSessionStorageNamespaceId);
return new WebStorageNamespaceImpl(session_storage_namespace_id_);
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index ea98760..8a0ab86 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -420,8 +420,7 @@ class CONTENT_EXPORT RenderViewImpl
virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu(
const WebKit::WebPopupMenuInfo& popup_menu_info,
WebKit::WebExternalPopupMenuClient* popup_menu_client);
- virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(
- unsigned quota);
+ virtual WebKit::WebStorageNamespace* createSessionStorageNamespace();
virtual void didAddMessageToConsole(
const WebKit::WebConsoleMessage& message,
const WebKit::WebString& source_name,
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
index 6eb2e8f..594e196 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
@@ -377,8 +377,7 @@ void RendererWebKitPlatformSupportImpl::suddenTerminationChanged(bool enabled) {
}
WebStorageNamespace*
-RendererWebKitPlatformSupportImpl::createLocalStorageNamespace(
- const WebString& path, unsigned quota) {
+RendererWebKitPlatformSupportImpl::createLocalStorageNamespace() {
return new WebStorageNamespaceImpl();
}
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index 29c4fa1..28fe1c5c 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -69,8 +69,7 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
const WebKit::WebURL&, double, const char*, size_t);
virtual WebKit::WebString defaultLocale();
virtual void suddenTerminationChanged(bool enabled);
- virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
- const WebKit::WebString& path, unsigned quota);
+ virtual WebKit::WebStorageNamespace* createLocalStorageNamespace();
virtual WebKit::Platform::FileHandle databaseOpenFile(
const WebKit::WebString& vfs_file_name, int desired_flags);
virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name,
diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc
index 5580890..c2b7179 100644
--- a/content/worker/worker_webkitplatformsupport_impl.cc
+++ b/content/worker/worker_webkitplatformsupport_impl.cc
@@ -159,8 +159,7 @@ WebString WorkerWebKitPlatformSupportImpl::defaultLocale() {
}
WebStorageNamespace*
-WorkerWebKitPlatformSupportImpl::createLocalStorageNamespace(
- const WebString& path, unsigned quota) {
+WorkerWebKitPlatformSupportImpl::createLocalStorageNamespace() {
NOTREACHED();
return 0;
}
diff --git a/content/worker/worker_webkitplatformsupport_impl.h b/content/worker/worker_webkitplatformsupport_impl.h
index 077aa64..aa193a1 100644
--- a/content/worker/worker_webkitplatformsupport_impl.h
+++ b/content/worker/worker_webkitplatformsupport_impl.h
@@ -53,8 +53,7 @@ class WorkerWebKitPlatformSupportImpl : public WebKitPlatformSupportImpl,
const WebKit::WebURL& first_party_for_cookies);
virtual void prefetchHostName(const WebKit::WebString&);
virtual WebKit::WebString defaultLocale();
- virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
- const WebKit::WebString& path, unsigned quota);
+ virtual WebKit::WebStorageNamespace* createLocalStorageNamespace();
virtual void dispatchStorageEvent(
const WebKit::WebString& key, const WebKit::WebString& old_value,
const WebKit::WebString& new_value, const WebKit::WebString& origin,