| 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));
|
| }
|
| }
|
|
|
|
|