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

Unified Diff: third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h

Issue 2158913006: Move BroadcastChannel browser code from components/ to content/browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h
diff --git a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h
index 7ebde2dc7b9105b7ffb5e6e9feaa3474b85556b0..8a54cced1e801ea75dad5878e02300bf4ea77e7b 100644
--- a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h
+++ b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h
@@ -6,11 +6,11 @@
#define BroadcastChannel_h
#include "bindings/core/v8/ActiveScriptWrappable.h"
-#include "components/webmessaging/public/interfaces/broadcast_channel.mojom-blink.h"
#include "core/dom/ContextLifecycleObserver.h"
#include "core/events/EventTarget.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
#include "platform/weborigin/SecurityOrigin.h"
+#include "third_party/WebKit/public/platform/modules/broadcastchannel/broadcast_channel.mojom-blink.h"
namespace blink {
@@ -18,7 +18,7 @@ class BroadcastChannel final
: public EventTargetWithInlineData
, public ActiveScriptWrappable
, public ContextLifecycleObserver
- , public webmessaging::mojom::blink::BroadcastChannelClient {
+ , public mojom::blink::BroadcastChannelClient {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(BroadcastChannel);
USING_PRE_FINALIZER(BroadcastChannel, dispose);
@@ -49,7 +49,7 @@ public:
private:
BroadcastChannel(ExecutionContext*, const String& name);
- // webmessaging::mojom::blink::BroadcastChannelClient:
+ // mojom::blink::BroadcastChannelClient:
void OnMessage(const String& message) override;
// Called when the mojo binding disconnects.
@@ -58,8 +58,8 @@ private:
RefPtr<SecurityOrigin> m_origin;
String m_name;
- mojo::AssociatedBinding<webmessaging::mojom::blink::BroadcastChannelClient> m_binding;
- webmessaging::mojom::blink::BroadcastChannelClientAssociatedPtr m_remoteClient;
+ mojo::AssociatedBinding<mojom::blink::BroadcastChannelClient> m_binding;
+ mojom::blink::BroadcastChannelClientAssociatedPtr m_remoteClient;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/BUILD.gn ('k') | third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698