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

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

Issue 2331343005: PlzNavigate: Get StreamPrivate API to work. (Closed)
Patch Set: Remove include file 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
Index: chrome/browser/extensions/api/streams_private/streams_private_api.cc
diff --git a/chrome/browser/extensions/api/streams_private/streams_private_api.cc b/chrome/browser/extensions/api/streams_private/streams_private_api.cc
index f17bef988217e9e38db5633d59e8b97a46a62c23..cd44b85a5d974ced0767cc8d6f56f425c2bb5a49 100644
--- a/chrome/browser/extensions/api/streams_private/streams_private_api.cc
+++ b/chrome/browser/extensions/api/streams_private/streams_private_api.cc
@@ -69,9 +69,7 @@ void StreamsPrivateAPI::ExecuteMimeTypeHandler(
std::unique_ptr<content::StreamInfo> stream,
const std::string& view_id,
int64_t expected_content_size,
- bool embedded,
- int render_process_id,
- int render_frame_id) {
+ bool embedded) {
const Extension* extension = ExtensionRegistry::Get(browser_context_)
->enabled_extensions()
.GetByID(extension_id);
@@ -89,8 +87,7 @@ void StreamsPrivateAPI::ExecuteMimeTypeHandler(
std::unique_ptr<StreamContainer> stream_container(new StreamContainer(
std::move(stream), tab_id, embedded, handler_url, extension_id));
MimeHandlerStreamManager::Get(browser_context_)
- ->AddStream(view_id, std::move(stream_container), render_process_id,
- render_frame_id);
+ ->AddStream(view_id, std::move(stream_container), web_contents);
return;
}
// Create the event's arguments value.

Powered by Google App Engine
This is Rietveld 408576698