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

Unified Diff: webkit/fileapi/file_system_path_manager.cc

Issue 6864040: Fixed file/directory url resolution for external mount point provider. (Closed) Base URL: svn://svn.chromium.org/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: webkit/fileapi/file_system_path_manager.cc
===================================================================
--- webkit/fileapi/file_system_path_manager.cc (revision 81876)
+++ webkit/fileapi/file_system_path_manager.cc (working copy)
@@ -56,18 +56,20 @@
void FileSystemPathManager::GetFileSystemRootPath(
const GURL& origin_url, fileapi::FileSystemType type,
- bool create, GetRootPathCallback* callback_ptr) {
+ bool create, bool is_file_system,
+ const FilePath& virtual_path,
+ GetRootPathCallback* callback_ptr) {
switch (type) {
case kFileSystemTypeTemporary:
case kFileSystemTypePersistent:
sandbox_provider_->GetFileSystemRootPath(
- origin_url, type, create, callback_ptr);
+ origin_url, type, create, is_file_system, virtual_path, callback_ptr);
break;
case kFileSystemTypeExternal:
if (external_provider_.get()) {
external_provider_->GetFileSystemRootPath(
- origin_url, type, create, callback_ptr);
+ origin_url, type, create, is_file_system, virtual_path, callback_ptr);
} else {
callback_ptr->Run(false, FilePath(), std::string());
}

Powered by Google App Engine
This is Rietveld 408576698