| Index: components/html_viewer/web_message_port_channel_impl.h
|
| diff --git a/components/html_viewer/web_message_port_channel_impl.h b/components/html_viewer/web_message_port_channel_impl.h
|
| deleted file mode 100644
|
| index 8c723bc927a8670a2232d9a83272241167eb4407..0000000000000000000000000000000000000000
|
| --- a/components/html_viewer/web_message_port_channel_impl.h
|
| +++ /dev/null
|
| @@ -1,45 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// 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_
|
| -
|
| -#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 {
|
| -
|
| -class WebMessagePortChannelImpl : public blink::WebMessagePortChannel {
|
| - public:
|
| - static void CreatePair(
|
| - blink::WebMessagePortChannel** channel1,
|
| - blink::WebMessagePortChannel** channel2);
|
| -
|
| - private:
|
| - explicit WebMessagePortChannelImpl(mojo::ScopedMessagePipeHandle pipe);
|
| - virtual ~WebMessagePortChannelImpl();
|
| -
|
| - // blink::WebMessagePortChannel implementation.
|
| - virtual void setClient(blink::WebMessagePortChannelClient* client);
|
| - virtual void destroy();
|
| - virtual void postMessage(const blink::WebString& message,
|
| - blink::WebMessagePortChannelArray* channels);
|
| - virtual bool tryGetMessage(blink::WebString* message,
|
| - blink::WebMessagePortChannelArray& channels);
|
| -
|
| - void WaitForNextMessage();
|
| - void OnMessageAvailable(MojoResult result);
|
| -
|
| - blink::WebMessagePortChannelClient* client_;
|
| - mojo::ScopedMessagePipeHandle pipe_;
|
| - mojo::common::HandleWatcher handle_watcher_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(WebMessagePortChannelImpl);
|
| -};
|
| -
|
| -} // namespace html_viewer
|
| -
|
| -#endif // COMPONENTS_HTML_VIEWER_WEB_MESSAGE_PORT_CHANNEL_IMPL_H_
|
|
|