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

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

Issue 263513004: Forward MIME types to BrowserPlugin when a viewer is specified. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fixes 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.h
diff --git a/content/public/browser/resource_dispatcher_host_delegate.h b/content/public/browser/resource_dispatcher_host_delegate.h
index 598cffbe099eac74157bb64c21ddbd23ff5923c8..3fc78c9ff48f58c221cb7d5c6e57904ad27aa2ca 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.h
+++ b/content/public/browser/resource_dispatcher_host_delegate.h
@@ -109,7 +109,9 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate {
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);
jam 2014/05/30 21:05:27 can you document what payload and view_id are and
Zachary Kuznia 2014/05/30 21:21:06 Done.
// Informs the delegate that a Stream was created. |target_id| will be filled
// with the parameter returned by ShouldInterceptResourceAsStream(). The
@@ -120,6 +122,7 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate {
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);
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/public/browser/resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698