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

Unified Diff: content/browser/worker_host/worker_process_host.cc

Issue 6603034: Stop returning the true root path of each filesystem from openFileSystem.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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: content/browser/worker_host/worker_process_host.cc
===================================================================
--- content/browser/worker_host/worker_process_host.cc (revision 78772)
+++ content/browser/worker_host/worker_process_host.cc (working copy)
@@ -41,6 +41,7 @@
#include "net/base/registry_controlled_domain.h"
#include "webkit/glue/resource_type.h"
#include "webkit/fileapi/file_system_path_manager.h"
+#include "webkit/fileapi/sandbox_mount_point_provider.h"
namespace {
@@ -183,7 +184,7 @@
ChildProcessSecurityPolicy::GetInstance()->GrantPermissionsForFile(
id(),
GetChromeURLRequestContext()->file_system_context()->
- path_manager()->base_path(),
+ path_manager()->sandbox_provider()->base_path(),
base::PLATFORM_FILE_OPEN |
base::PLATFORM_FILE_CREATE |
base::PLATFORM_FILE_OPEN_ALWAYS |

Powered by Google App Engine
This is Rietveld 408576698