summaryrefslogtreecommitdiffstats
path: root/content/common/file_system/webfilesystem_callback_dispatcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/file_system/webfilesystem_callback_dispatcher.cc')
-rw-r--r--content/common/file_system/webfilesystem_callback_dispatcher.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/content/common/file_system/webfilesystem_callback_dispatcher.cc b/content/common/file_system/webfilesystem_callback_dispatcher.cc
index 6903f4c..c59e377 100644
--- a/content/common/file_system/webfilesystem_callback_dispatcher.cc
+++ b/content/common/file_system/webfilesystem_callback_dispatcher.cc
@@ -10,6 +10,7 @@
#include "base/file_util_proxy.h"
#include "base/logging.h"
#include "base/utf_string_conversions.h"
+#include "googleurl/src/gurl.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFileInfo.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallbacks.h"
@@ -58,9 +59,9 @@ void WebFileSystemCallbackDispatcher::DidReadDirectory(
}
void WebFileSystemCallbackDispatcher::DidOpenFileSystem(
- const std::string& name, const FilePath& root_path) {
- callbacks_->didOpenFileSystem(UTF8ToUTF16(name),
- webkit_glue::FilePathToWebString(root_path));
+ const std::string& name, const GURL& root) {
+ callbacks_->didOpenFileSystem(
+ UTF8ToUTF16(name), UTF8ToUTF16(root.spec()));
}
void WebFileSystemCallbackDispatcher::DidFail(