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

Unified Diff: chrome/browser/extensions/api/streams_private/streams_private_api.h

Issue 726343002: OOP PDF: Add whether a resource is embedded to StreamInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@embedded-pdfs
Patch Set: address comment Created 6 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/streams_private/streams_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32f9cdfaed2bd99a71bad1e979f966c86e2313a2..c0388ad9272e13e8909c614e1940c202d44e79ef 100644
--- a/chrome/browser/extensions/api/streams_private/streams_private_api.h
+++ b/chrome/browser/extensions/api/streams_private/streams_private_api.h
@@ -35,12 +35,14 @@ class StreamsPrivateAPI : public BrowserContextKeyedAPI,
// |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.
+ // in a BrowserPlugin, specify a non-empty |view_id| of the plugin. |embedded|
+ // should be set to whether the document is embedded within another document.
void ExecuteMimeTypeHandler(const std::string& extension_id,
content::WebContents* web_contents,
scoped_ptr<content::StreamInfo> stream,
const std::string& view_id,
- int64 expected_content_size);
+ int64 expected_content_size,
+ bool embedded);
void AbortStream(const std::string& extension_id,
const GURL& stream_url,
« no previous file with comments | « no previous file | chrome/browser/extensions/api/streams_private/streams_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698