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

Unified Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 5357009: Revert 67385 - On windows filepaths need \\?\ prefix to allow extended file p... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 | webkit/fileapi/file_system_operation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/browser_render_process_host.cc
===================================================================
--- chrome/browser/renderer_host/browser_render_process_host.cc (revision 67702)
+++ chrome/browser/renderer_host/browser_render_process_host.cc (working copy)
@@ -240,9 +240,8 @@
// PLATFORM_FILE_DELETE_ON_CLOSE are not granted, because no existing API
// requests them.
ChildProcessSecurityPolicy::GetInstance()->GrantPermissionsForFile(
- id(),
- fileapi::FileSystemPathManager::GetFileSystemCommonRootDirectory(
- profile->GetPath()),
+ id(), profile->GetPath().Append(
+ fileapi::FileSystemPathManager::kFileSystemDirectory),
base::PLATFORM_FILE_OPEN |
base::PLATFORM_FILE_CREATE |
base::PLATFORM_FILE_OPEN_ALWAYS |
« no previous file with comments | « no previous file | webkit/fileapi/file_system_operation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698