Index: chrome/browser/extensions/api/streams_private/streams_private_api.h |
diff --git a/chrome/browser/extensions/api/streams_private/streams_private_api.h b/chrome/browser/extensions/api/streams_private/streams_private_api.h |
index 0ac149fb4af63c17eb62f7a640b20d9c4e280390..9f1ff53eb25878665a125df31e471478e36a3b38 100644 |
--- a/chrome/browser/extensions/api/streams_private/streams_private_api.h |
+++ b/chrome/browser/extensions/api/streams_private/streams_private_api.h |
@@ -30,9 +30,15 @@ class StreamsPrivateAPI : public BrowserContextKeyedAPI, |
explicit StreamsPrivateAPI(content::BrowserContext* context); |
virtual ~StreamsPrivateAPI(); |
+ // Send the onExecuteMimeTypeHandler event to |extension_id|. |
+ // |web_contents| is used to determine the tabId where the document is being |
+ // opened. The data for the document will be readable from |stream|, and |
+ // should be |expected_content_size| bytes long. If the viewer is being opened |
+ // in a BrowserPlugin, specify a non-empty |view_id| of the plugin. |
void ExecuteMimeTypeHandler(const std::string& extension_id, |
content::WebContents* web_contents, |
scoped_ptr<content::StreamHandle> stream, |
+ const std::string& view_id, |
int64 expected_content_size); |
// BrowserContextKeyedAPI implementation. |