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

Unified Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 263513004: Forward MIME types to BrowserPlugin when a viewer is specified. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comments Created 6 years, 7 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: content/public/browser/resource_dispatcher_host_delegate.cc
diff --git a/content/public/browser/resource_dispatcher_host_delegate.cc b/content/public/browser/resource_dispatcher_host_delegate.cc
index ccd358f436f40c16cfe3b5dd8b092bfefee2ccad..48a6b85204e453c396265818dad538b08221c587 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.cc
+++ b/content/public/browser/resource_dispatcher_host_delegate.cc
@@ -65,7 +65,9 @@ bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream(
const GURL& url,
const std::string& mime_type,
GURL* origin,
- std::string* target_id) {
+ std::string* target_id,
+ std::string* payload,
+ std::string* view_id) {
return false;
}
@@ -74,6 +76,7 @@ void ResourceDispatcherHostDelegate::OnStreamCreated(
int render_process_id,
int render_view_id,
const std::string& target_id,
+ const std::string& view_id,
scoped_ptr<StreamHandle> stream,
int64 expected_content_size) {
}

Powered by Google App Engine
This is Rietveld 408576698