blob: 6bfd2a1b6bba135ca3ad0340f73daeed8d9216fe [file] [log] [blame]
[email protected]31799bf2012-02-26 20:18:411// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_
6#define CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_
7
8#include "base/compiler_specific.h"
9#include "ppapi/proxy/proxy_channel.h"
10
[email protected]ca00e9162012-04-03 05:35:3611namespace content {
12
[email protected]31799bf2012-02-26 20:18:4113class PepperProxyChannelDelegateImpl
14 : public ppapi::proxy::ProxyChannel::Delegate {
15 public:
dcheng6d18e402014-10-21 12:32:5216 ~PepperProxyChannelDelegateImpl() override;
[email protected]31799bf2012-02-26 20:18:4117
18 // ProxyChannel::Delegate implementation.
skyostil12262cf2015-05-21 14:49:3119 base::SingleThreadTaskRunner* GetIPCTaskRunner() override;
dcheng6d18e402014-10-21 12:32:5220 base::WaitableEvent* GetShutdownEvent() override;
21 IPC::PlatformFileForTransit ShareHandleWithRemote(
[email protected]f0ecb552012-05-11 22:09:1122 base::PlatformFile handle,
[email protected]108fd342013-01-04 20:46:5423 base::ProcessId remote_pid,
mohan.reddyee0b42a2014-10-08 04:53:1424 bool should_close_source) override;
erikchen4fc32d52015-06-02 02:16:3825 base::SharedMemoryHandle ShareSharedMemoryHandleWithRemote(
26 const base::SharedMemoryHandle& handle,
27 base::ProcessId remote_pid) override;
[email protected]31799bf2012-02-26 20:18:4128};
29
[email protected]ca00e9162012-04-03 05:35:3630} // namespace content
31
[email protected]31799bf2012-02-26 20:18:4132#endif // CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_