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

Unified Diff: content/browser/broadcast_channel/broadcast_channel_provider.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/broadcast_channel/broadcast_channel_provider.h
diff --git a/content/browser/broadcast_channel/broadcast_channel_provider.h b/content/browser/broadcast_channel/broadcast_channel_provider.h
index b4fd0211a4183556256f0db6054c40c16b82f6dd..9998f41866013464fe17037e82835120ce30069a 100644
--- a/content/browser/broadcast_channel/broadcast_channel_provider.h
+++ b/content/browser/broadcast_channel/broadcast_channel_provider.h
@@ -12,6 +12,10 @@
#include "third_party/WebKit/public/platform/modules/broadcastchannel/broadcast_channel.mojom.h"
#include "url/origin.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace content {
class BroadcastChannelProvider
@@ -19,8 +23,8 @@ class BroadcastChannelProvider
public blink::mojom::BroadcastChannelProvider {
public:
BroadcastChannelProvider();
- void Connect(
- mojo::InterfaceRequest<blink::mojom::BroadcastChannelProvider> request);
+ void Connect(const service_manager::BindSourceInfo& source_info,
+ blink::mojom::BroadcastChannelProviderRequest request);
void ConnectToChannel(
const url::Origin& origin,

Powered by Google App Engine
This is Rietveld 408576698