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

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

Issue 2331343005: PlzNavigate: Get StreamPrivate API to work. (Closed)
Patch Set: Fix DCHECK leading to browser test redness Created 4 years, 3 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
« 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 d1c22433f99849841e94f4b2d85c7cfa584c2091..e2e2ab84aa340079bea4fae328b0496120910342 100644
--- a/chrome/browser/extensions/api/streams_private/streams_private_api.h
+++ b/chrome/browser/extensions/api/streams_private/streams_private_api.h
@@ -39,12 +39,17 @@ class StreamsPrivateAPI : public BrowserContextKeyedAPI,
// 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. |embedded|
// should be set to whether the document is embedded within another document.
+ // The |frame_tree_node_id| parameter is used for PlzNavigate for the top
+ // level plugins case. (PDF, etc). If this parameter has a valid value then
+ // it overrides the |render_process_id| and |render_frame_id| parameters.
+ // The |render_process_id| is the id of the renderer process.
+ // The |render_frame_id| is the routing id of the RenderFrameHost.
void ExecuteMimeTypeHandler(const std::string& extension_id,
- content::WebContents* web_contents,
std::unique_ptr<content::StreamInfo> stream,
const std::string& view_id,
int64_t expected_content_size,
bool embedded,
+ int frame_tree_node_id,
int render_process_id,
int render_frame_id);
« 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