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

Unified Diff: webkit/tools/test_shell/simple_file_system.cc

Issue 7820005: Clean up old dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « webkit/tools/test_shell/simple_file_system.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/simple_file_system.cc
diff --git a/webkit/tools/test_shell/simple_file_system.cc b/webkit/tools/test_shell/simple_file_system.cc
index 6b3056319d93298de1bb2b36a11d1ee318d1858e..669137b2cedebcf080e36e57065be11cc1cb5f8d 100644
--- a/webkit/tools/test_shell/simple_file_system.cc
+++ b/webkit/tools/test_shell/simple_file_system.cc
@@ -103,13 +103,7 @@ class SimpleFileSystemCallbackDispatcher
if (!root.is_valid())
callbacks_->didFail(WebKit::WebFileErrorSecurity);
else
-// Temporary hack to ease a 4-phase Chromium/WebKit commit.
-#ifdef WEBFILESYSTEMCALLBACKS_USE_URL_NOT_STRING
callbacks_->didOpenFileSystem(WebString::fromUTF8(name), root);
-#else
- callbacks_->didOpenFileSystem(
- WebString::fromUTF8(name), WebString::fromUTF8(root.spec()));
-#endif
}
virtual void DidFail(base::PlatformFileError error_code) {
@@ -177,65 +171,6 @@ void SimpleFileSystem::OpenFileSystem(
GetNewOperation(callbacks)->OpenFileSystem(origin_url, type, create);
}
-void SimpleFileSystem::move(const WebString& src_path,
- const WebString& dest_path,
- WebFileSystemCallbacks* callbacks) {
- move(GURL(src_path), GURL(dest_path), callbacks);
-}
-
-void SimpleFileSystem::copy(const WebString& src_path,
- const WebString& dest_path,
- WebFileSystemCallbacks* callbacks) {
- copy(GURL(src_path), GURL(dest_path), callbacks);
-}
-
-void SimpleFileSystem::remove(const WebString& path,
- WebFileSystemCallbacks* callbacks) {
- remove(GURL(path), callbacks);
-}
-
-void SimpleFileSystem::removeRecursively(const WebString& path,
- WebFileSystemCallbacks* callbacks) {
- removeRecursively(GURL(path), callbacks);
-}
-
-void SimpleFileSystem::readMetadata(const WebString& path,
- WebFileSystemCallbacks* callbacks) {
- readMetadata(GURL(path), callbacks);
-}
-
-void SimpleFileSystem::createFile(const WebString& path,
- bool exclusive,
- WebFileSystemCallbacks* callbacks) {
- createFile(GURL(path), exclusive, callbacks);
-}
-
-void SimpleFileSystem::createDirectory(const WebString& path,
- bool exclusive,
- WebFileSystemCallbacks* callbacks) {
- createDirectory(GURL(path), exclusive, callbacks);
-}
-
-void SimpleFileSystem::fileExists(const WebString& path,
- WebFileSystemCallbacks* callbacks) {
- fileExists(GURL(path), callbacks);
-}
-
-void SimpleFileSystem::directoryExists(const WebString& path,
- WebFileSystemCallbacks* callbacks) {
- directoryExists(GURL(path), callbacks);
-}
-
-void SimpleFileSystem::readDirectory(const WebString& path,
- WebFileSystemCallbacks* callbacks) {
- readDirectory(GURL(path), callbacks);
-}
-
-WebKit::WebFileWriter* SimpleFileSystem::createFileWriter(
- const WebString& path, WebKit::WebFileWriterClient* client) {
- return createFileWriter(GURL(path), client);
-}
-
void SimpleFileSystem::move(
const WebURL& src_path,
const WebURL& dest_path, WebFileSystemCallbacks* callbacks) {
« no previous file with comments | « webkit/tools/test_shell/simple_file_system.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698