summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
authorpilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-20 18:36:48 +0000
committerpilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-20 18:36:48 +0000
commitbc31407e8c44a801037d19e5c852bf42c7a85c95 (patch)
tree09c41f2937956a35de0f1f8893d6ab7e15a718b3 /webkit/tools
parent433bd24b73e676a6aae5b04f00131755cce3552b (diff)
downloadchromium_src-bc31407e8c44a801037d19e5c852bf42c7a85c95.zip
chromium_src-bc31407e8c44a801037d19e5c852bf42c7a85c95.tar.gz
chromium_src-bc31407e8c44a801037d19e5c852bf42c7a85c95.tar.bz2
Remove dead code behind ifndef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
Review URL: https://chromiumcodereview.appspot.com/12879013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189350 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/test_shell/simple_file_system.cc8
-rw-r--r--webkit/tools/test_shell/simple_file_system.h8
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.cc4
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.h4
4 files changed, 0 insertions, 24 deletions
diff --git a/webkit/tools/test_shell/simple_file_system.cc b/webkit/tools/test_shell/simple_file_system.cc
index 970070e..b2b509d 100644
--- a/webkit/tools/test_shell/simple_file_system.cc
+++ b/webkit/tools/test_shell/simple_file_system.cc
@@ -96,11 +96,7 @@ SimpleFileSystem::~SimpleFileSystem() {
void SimpleFileSystem::OpenFileSystem(
WebFrame* frame,
-#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
WebKit::WebFileSystemType type,
-#else
- WebFileSystem::Type type,
-#endif
long long, bool create,
WebFileSystemCallbacks* callbacks) {
if (!frame || !file_system_context_.get()) {
@@ -117,11 +113,7 @@ void SimpleFileSystem::OpenFileSystem(
void SimpleFileSystem::DeleteFileSystem(
WebFrame* frame,
-#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
WebKit::WebFileSystemType type,
-#else
- WebFileSystem::Type type,
-#endif
WebFileSystemCallbacks* callbacks) {
if (!frame || !file_system_context_.get()) {
callbacks->didFail(WebKit::WebFileErrorSecurity);
diff --git a/webkit/tools/test_shell/simple_file_system.h b/webkit/tools/test_shell/simple_file_system.h
index 6af770d..0e1ad03 100644
--- a/webkit/tools/test_shell/simple_file_system.h
+++ b/webkit/tools/test_shell/simple_file_system.h
@@ -39,20 +39,12 @@ class SimpleFileSystem
virtual ~SimpleFileSystem();
void OpenFileSystem(WebKit::WebFrame* frame,
-#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
WebKit::WebFileSystemType type,
-#else
- WebKit::WebFileSystem::Type type,
-#endif
long long size,
bool create,
WebKit::WebFileSystemCallbacks* callbacks);
void DeleteFileSystem(WebKit::WebFrame* frame,
-#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
WebKit::WebFileSystemType type,
-#else
- WebKit::WebFileSystem::Type type,
-#endif
WebKit::WebFileSystemCallbacks* callbacks);
fileapi::FileSystemContext* file_system_context() {
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index eddcfbb..2f46ecb 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -806,11 +806,7 @@ bool TestWebViewDelegate::allowScript(WebFrame* frame,
void TestWebViewDelegate::openFileSystem(
WebFrame* frame,
-#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
WebKit::WebFileSystemType type,
-#else
- WebFileSystem::Type type,
-#endif
long long size, bool create,
WebFileSystemCallbacks* callbacks) {
SimpleFileSystem* fileSystem = static_cast<SimpleFileSystem*>(
diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h
index 6ea31af..667cf5f 100644
--- a/webkit/tools/test_shell/test_webview_delegate.h
+++ b/webkit/tools/test_shell/test_webview_delegate.h
@@ -228,11 +228,7 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings);
virtual void openFileSystem(
WebKit::WebFrame* frame,
-#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
WebKit::WebFileSystemType type,
-#else
- WebKit::WebFileSystem::Type type,
-#endif
long long size,
bool create,
WebKit::WebFileSystemCallbacks* callbacks);