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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api.cc

Issue 11648027: Extract external file systems handling from isolated context. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gypi file Created 7 years, 11 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: chrome/browser/extensions/api/file_system/file_system_api.cc
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc
index 1f14517147b18f202314f95818e80cd26c671330..e8b71937494153ae3a2988dda8cce8c6b9bd44d6 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
@@ -156,10 +156,10 @@ bool GetFilePathOfFileEntry(const std::string& filesystem_name,
FilePath relative_path = FilePath::FromUTF8Unsafe(filesystem_path);
FilePath virtual_path = context->CreateVirtualRootPath(filesystem_id)
.Append(relative_path);
- if (!context->CrackIsolatedPath(virtual_path,
- &filesystem_id,
- NULL,
- file_path)) {
+ if (!context->CrackVirtualPath(virtual_path,
+ &filesystem_id,
+ NULL,
+ file_path)) {
*error = kInvalidParameters;
return false;
}

Powered by Google App Engine
This is Rietveld 408576698