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

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

Issue 5754002: Moving away from shell api to support long path names on windows for filesystem. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/renderer_host/browser_render_process_host.cc
===================================================================
--- chrome/browser/renderer_host/browser_render_process_host.cc (revision 69859)
+++ chrome/browser/renderer_host/browser_render_process_host.cc (working copy)
@@ -286,8 +286,9 @@
// PLATFORM_FILE_DELETE_ON_CLOSE are not granted, because no existing API
// requests them.
ChildProcessSecurityPolicy::GetInstance()->GrantPermissionsForFile(
- id(), profile->GetPath().Append(
- fileapi::FileSystemPathManager::kFileSystemDirectory),
+ id(),
+ fileapi::FileSystemPathManager::GetFileSystemCommonRootDirectory(
+ profile->GetPath()),
base::PLATFORM_FILE_OPEN |
base::PLATFORM_FILE_CREATE |
base::PLATFORM_FILE_OPEN_ALWAYS |

Powered by Google App Engine
This is Rietveld 408576698