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

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: rebase 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 2b5301ba64879af981a47efee66c46af30db8eb8..0faa9e9c3b71f42d206222e3fa8459d518a61bf1 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