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

Unified Diff: chrome/browser/media/router/mojo/media_router_mojo_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: chrome/browser/media/router/mojo/media_router_mojo_impl.h
diff --git a/chrome/browser/media/router/mojo/media_router_mojo_impl.h b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
index 06f15de3c094173822085f149a93dacd55eae874..45a478003f8cdce0581431a5d4408b13f4038612 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl.h
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
@@ -30,6 +30,7 @@
#include "chrome/common/media_router/mojo/media_router.mojom.h"
#include "chrome/common/media_router/route_request_result.h"
#include "mojo/public/cpp/bindings/binding.h"
+#include "services/service_manager/public/cpp/bind_source_info.h"
namespace content {
class BrowserContext;
@@ -61,10 +62,10 @@ class MediaRouterMojoImpl : public MediaRouterBase,
// suspension state.
// |context|: The BrowserContext which owns the extension process.
// |request|: The Mojo connection request used for binding.
- static void BindToRequest(
- const extensions::Extension* extension,
- content::BrowserContext* context,
- mojo::InterfaceRequest<mojom::MediaRouter> request);
+ static void BindToRequest(const extensions::Extension* extension,
+ content::BrowserContext* context,
+ const service_manager::BindSourceInfo& source_info,
+ mojom::MediaRouterRequest request);
// MediaRouter implementation.
// Execution of the requests is delegated to the Do* methods, which can be
« no previous file with comments | « chrome/browser/media/output_protection_impl.cc ('k') | chrome/browser/media/router/mojo/media_router_mojo_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698