Chromium Code Reviews| Index: content/browser/intents/intent_injector.cc |
| diff --git a/content/browser/intents/intent_injector.cc b/content/browser/intents/intent_injector.cc |
| index 664576072f74d178c5666772a73fcb13cb243c18..d76cd6449e92fa9d7adecbb033669eb6fd8276b8 100644 |
| --- a/content/browser/intents/intent_injector.cc |
| +++ b/content/browser/intents/intent_injector.cc |
| @@ -82,7 +82,9 @@ void IntentInjector::RenderViewCreated(RenderViewHost* render_view_host) { |
| return; |
| } |
| - if (source_intent_->data_type == webkit_glue::WebIntentData::BLOB) { |
| + if (source_intent_->data_type == webkit_glue::WebIntentData::BLOB || |
|
Steve McKay
2012/10/15 19:31:10
The checks are crystal clear, why you are doing th
Greg Billock
2012/10/15 21:01:43
The new WebIntentsHost will grow to accomodate thi
|
| + (source_intent_->data_type == webkit_glue::WebIntentData::MIME_TYPE && |
| + !source_intent_->blob_file.empty())) { |
| // Grant read permission on the blob file to the delivered context. |
| const int child_id = render_view_host->GetProcess()->GetID(); |
| ChildProcessSecurityPolicy* policy = |