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

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

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.h
diff --git a/content/browser/presentation/presentation_service_impl.h b/content/browser/presentation/presentation_service_impl.h
index 4381b4a931b6a6e18eb3579e26c1eb1f21a3d132..7f3184041820bab47c419a702383c760ba111465 100644
--- a/content/browser/presentation/presentation_service_impl.h
+++ b/content/browser/presentation/presentation_service_impl.h
@@ -29,6 +29,10 @@
#include "third_party/WebKit/public/platform/modules/presentation/presentation.mojom.h"
#include "url/gurl.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace content {
struct PresentationConnectionMessage;
@@ -58,6 +62,7 @@ class CONTENT_EXPORT PresentationServiceImpl
// |request|: The instance will be bound to this request. Used for Mojo setup.
static void CreateMojoService(
RenderFrameHost* render_frame_host,
+ const service_manager::BindSourceInfo& source_info,
mojo::InterfaceRequest<blink::mojom::PresentationService> request);
private:
@@ -179,7 +184,7 @@ class CONTENT_EXPORT PresentationServiceImpl
override;
// Creates a binding between this object and |request|.
- void Bind(mojo::InterfaceRequest<blink::mojom::PresentationService> request);
+ void Bind(blink::mojom::PresentationServiceRequest request);
// WebContentsObserver override.
void DidFinishNavigation(NavigationHandle* navigation_handle) override;
« no previous file with comments | « content/browser/permissions/permission_service_context.cc ('k') | content/browser/presentation/presentation_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698