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

Unified Diff: components/message_port/web_message_port_channel_impl.h

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/OWNERS ('k') | components/message_port/web_message_port_channel_impl.cc » ('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.h
diff --git a/components/html_viewer/web_message_port_channel_impl.h b/components/message_port/web_message_port_channel_impl.h
similarity index 84%
rename from components/html_viewer/web_message_port_channel_impl.h
rename to components/message_port/web_message_port_channel_impl.h
index 8c723bc927a8670a2232d9a83272241167eb4407..49fe97e5899c9415e732f13a4de3be2668a7f958 100644
--- a/components/html_viewer/web_message_port_channel_impl.h
+++ b/components/message_port/web_message_port_channel_impl.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_HTML_VIEWER_WEB_MESSAGE_PORT_CHANNEL_IMPL_H_
-#define COMPONENTS_HTML_VIEWER_WEB_MESSAGE_PORT_CHANNEL_IMPL_H_
+#ifndef COMPONENTS_MESSAGE_PORT_WEB_MESSAGE_PORT_CHANNEL_IMPL_H_
+#define COMPONENTS_MESSAGE_PORT_WEB_MESSAGE_PORT_CHANNEL_IMPL_H_
#include "base/basictypes.h"
#include "mojo/common/handle_watcher.h"
#include "third_party/WebKit/public/platform/WebMessagePortChannel.h"
#include "third_party/mojo/src/mojo/public/cpp/system/message_pipe.h"
-namespace html_viewer {
+namespace message_port {
class WebMessagePortChannelImpl : public blink::WebMessagePortChannel {
public:
@@ -40,6 +40,6 @@ class WebMessagePortChannelImpl : public blink::WebMessagePortChannel {
DISALLOW_COPY_AND_ASSIGN(WebMessagePortChannelImpl);
};
-} // namespace html_viewer
+} // namespace message_port
-#endif // COMPONENTS_HTML_VIEWER_WEB_MESSAGE_PORT_CHANNEL_IMPL_H_
+#endif // COMPONENTS_MESSAGE_PORT_WEB_MESSAGE_PORT_CHANNEL_IMPL_H_
« no previous file with comments | « components/message_port/OWNERS ('k') | components/message_port/web_message_port_channel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698