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

Unified Diff: content/common/file_system/webfilesystem_callback_dispatcher.cc

Issue 6833007: More filesystem cleanup: convert URL-encoded-as-FilePath to actual URL, where (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
Index: content/common/file_system/webfilesystem_callback_dispatcher.cc
===================================================================
--- content/common/file_system/webfilesystem_callback_dispatcher.cc (revision 81454)
+++ content/common/file_system/webfilesystem_callback_dispatcher.cc (working copy)
@@ -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::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(
« no previous file with comments | « content/common/file_system/webfilesystem_callback_dispatcher.h ('k') | content/common/file_system/webfilesystem_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698