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

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

Issue 10447055: Move fileapi into its own component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 years, 7 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/glue/webkit_glue.cc ('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 d653a08417c9137ce7fed201c6b67dc748fd2529..1035c6a332305c86baccdfa6ad26d8d992ac41ad 100644
--- a/webkit/tools/test_shell/simple_file_system.cc
+++ b/webkit/tools/test_shell/simple_file_system.cc
@@ -21,6 +21,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
#include "webkit/blob/blob_storage_controller.h"
+#include "webkit/fileapi/file_system_util.h"
#include "webkit/fileapi/mock_file_system_options.h"
#include "webkit/glue/webkit_glue.h"
#include "webkit/tools/test_shell/simple_file_writer.h"
@@ -238,7 +239,7 @@ void SimpleFileSystem::DidFinish(WebFileSystemCallbacks* callbacks,
if (result == base::PLATFORM_FILE_OK)
callbacks->didSucceed();
else
- callbacks->didFail(webkit_glue::PlatformFileErrorToWebFileError(result));
+ callbacks->didFail(fileapi::PlatformFileErrorToWebFileError(result));
}
void SimpleFileSystem::DidGetMetadata(WebFileSystemCallbacks* callbacks,
@@ -255,7 +256,7 @@ void SimpleFileSystem::DidGetMetadata(WebFileSystemCallbacks* callbacks,
webkit_glue::FilePathToWebString(platform_path);
callbacks->didReadMetadata(web_file_info);
} else {
- callbacks->didFail(webkit_glue::PlatformFileErrorToWebFileError(result));
+ callbacks->didFail(fileapi::PlatformFileErrorToWebFileError(result));
}
}
@@ -276,7 +277,7 @@ void SimpleFileSystem::DidReadDirectory(
WebVector<WebKit::WebFileSystemEntry> web_entries = web_entries_vector;
callbacks->didReadDirectory(web_entries, has_more);
} else {
- callbacks->didFail(webkit_glue::PlatformFileErrorToWebFileError(result));
+ callbacks->didFail(fileapi::PlatformFileErrorToWebFileError(result));
}
}
@@ -290,7 +291,7 @@ void SimpleFileSystem::DidOpenFileSystem(
else
callbacks->didOpenFileSystem(WebString::fromUTF8(name), root);
} else {
- callbacks->didFail(webkit_glue::PlatformFileErrorToWebFileError(result));
+ callbacks->didFail(fileapi::PlatformFileErrorToWebFileError(result));
}
}
« no previous file with comments | « webkit/glue/webkit_glue.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698