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

Unified Diff: components/message_port/web_message_port_channel_impl.cc

Issue 1182303012: Componentize html_viewer's MessagePort (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: header-only target types: static_library -> none Created 5 years, 6 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
« no previous file with comments | « components/message_port/web_message_port_channel_impl.h ('k') | third_party/mojo/mojo_public.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/message_port/web_message_port_channel_impl.cc
diff --git a/components/html_viewer/web_message_port_channel_impl.cc b/components/message_port/web_message_port_channel_impl.cc
similarity index 97%
rename from components/html_viewer/web_message_port_channel_impl.cc
rename to components/message_port/web_message_port_channel_impl.cc
index 45e75fc5bd4731e4abf8c3e1e67f27bb671d7336..93a62127aa728a4cc6223aa9ce5b3d6392f4523e 100644
--- a/components/html_viewer/web_message_port_channel_impl.cc
+++ b/components/message_port/web_message_port_channel_impl.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/html_viewer/web_message_port_channel_impl.h"
+#include "components/message_port/web_message_port_channel_impl.h"
#include "base/bind.h"
#include "base/logging.h"
@@ -16,7 +16,7 @@ using blink::WebMessagePortChannelArray;
using blink::WebMessagePortChannelClient;
using blink::WebString;
-namespace html_viewer {
+namespace message_port {
void WebMessagePortChannelImpl::CreatePair(
blink::WebMessagePortChannel** channel1,
@@ -129,4 +129,4 @@ void WebMessagePortChannelImpl::OnMessageAvailable(MojoResult result) {
WaitForNextMessage();
}
-} // namespace html_viewer
+} // namespace message_port
« no previous file with comments | « components/message_port/web_message_port_channel_impl.h ('k') | third_party/mojo/mojo_public.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698