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

Unified Diff: chrome/browser/renderer_host/blob_dispatcher_host.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/blob_dispatcher_host.cc
===================================================================
--- chrome/browser/renderer_host/blob_dispatcher_host.cc (revision 60686)
+++ chrome/browser/renderer_host/blob_dispatcher_host.cc (working copy)
@@ -58,7 +58,7 @@
blob_data->items().begin();
iter != blob_data->items().end(); ++iter) {
if (iter->type() == webkit_blob::BlobData::TYPE_FILE) {
- if (!policy->CanUploadFile(process_id_, iter->file_path()))
+ if (!policy->CanReadFile(process_id_, iter->file_path()))
return false;
}
}

Powered by Google App Engine
This is Rietveld 408576698