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

Unified Diff: content/browser/presentation/presentation_service_impl.cc

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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/browser/presentation/presentation_service_impl.cc
diff --git a/content/browser/presentation/presentation_service_impl.cc b/content/browser/presentation/presentation_service_impl.cc
index 4499ea229eb3dc85d2175641fe71fae11a2da986..ea75760248f45676eccc6ac3c46b5fff4605b092 100644
--- a/content/browser/presentation/presentation_service_impl.cc
+++ b/content/browser/presentation/presentation_service_impl.cc
@@ -76,7 +76,8 @@ PresentationServiceImpl::~PresentationServiceImpl() {
// static
void PresentationServiceImpl::CreateMojoService(
RenderFrameHost* render_frame_host,
- mojo::InterfaceRequest<blink::mojom::PresentationService> request) {
+ const service_manager::BindSourceInfo& source_info,
+ blink::mojom::PresentationServiceRequest request) {
DVLOG(2) << "CreateMojoService";
WebContents* web_contents =
WebContents::FromRenderFrameHost(render_frame_host);
@@ -101,7 +102,7 @@ void PresentationServiceImpl::CreateMojoService(
}
void PresentationServiceImpl::Bind(
- mojo::InterfaceRequest<blink::mojom::PresentationService> request) {
+ blink::mojom::PresentationServiceRequest request) {
binding_.reset(new mojo::Binding<blink::mojom::PresentationService>(
this, std::move(request)));
}
« no previous file with comments | « content/browser/presentation/presentation_service_impl.h ('k') | content/browser/push_messaging/push_messaging_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698