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

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

Issue 3431032: Change ChildProcessSecurityPolicy to store a list of allowed flags for... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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: chrome/browser/renderer_host/redirect_to_file_resource_handler.cc
===================================================================
--- chrome/browser/renderer_host/redirect_to_file_resource_handler.cc (revision 60686)
+++ chrome/browser/renderer_host/redirect_to_file_resource_handler.cc (working copy)
@@ -163,7 +163,7 @@
file_stream_.reset(new net::FileStream(file_handle.ReleaseValue(),
base::PLATFORM_FILE_WRITE |
base::PLATFORM_FILE_ASYNC));
- ChildProcessSecurityPolicy::GetInstance()->GrantUploadFile(
+ ChildProcessSecurityPolicy::GetInstance()->GrantReadFile(
process_id_, file_path);
host_->StartDeferredRequest(process_id_, request_id_);
}

Powered by Google App Engine
This is Rietveld 408576698