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

Unified Diff: chrome/browser/extensions/extension_file_browser_private_api.cc

Issue 6810037: File API changes needed for safely passing user selected file entities from the file browser comp... (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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_local_filesystem_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_file_browser_private_api.cc
===================================================================
--- chrome/browser/extensions/extension_file_browser_private_api.cc (revision 81835)
+++ chrome/browser/extensions/extension_file_browser_private_api.cc (working copy)
@@ -79,7 +79,7 @@
profile()->GetFileSystemContext(),
NULL);
GURL origin_url = source_url().GetOrigin();
- operation->OpenFileSystem(origin_url, fileapi::kFileSystemTypeLocal,
+ operation->OpenFileSystem(origin_url, fileapi::kFileSystemTypeExternal,
false); // create
// Will finish asynchronously.
return true;
@@ -171,7 +171,7 @@
std::string virtual_path = virtual_paths_[i];
FilePath root = path_manager->GetFileSystemRootPathOnFileThread(
origin_url,
- fileapi::kFileSystemTypeLocal,
+ fileapi::kFileSystemTypeExternal,
FilePath(virtual_path),
false);
if (!root.empty()) {
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_local_filesystem_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698