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

Unified Diff: webkit/fileapi/file_system_path_manager.cc

Issue 6749021: Added new fileBrowserPrivate and fileHandler extension APIs (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 80410)
+++ webkit/fileapi/file_system_path_manager.cc (working copy)
@@ -142,12 +142,12 @@
switch (local_type) {
case kFileSystemTypeTemporary:
case kFileSystemTypePersistent:
- if (!sandbox_provider_->IsAccessAllowed(local_url))
+ if (!sandbox_provider_->IsAccessAllowed(local_url, local_path))
return false;
break;
case kFileSystemTypeLocal:
if (!local_provider_.get() ||
- !local_provider_->IsAccessAllowed(local_url)) {
+ !local_provider_->IsAccessAllowed(local_url, local_path)) {
return false;
}
break;

Powered by Google App Engine
This is Rietveld 408576698