Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / content / renderer / pepper / pepper_proxy_channel_delegate_impl.h
blob6bfd2a1b6bba135ca3ad0340f73daeed8d9216fe
1 // 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.
5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_
8 #include "base/compiler_specific.h"
9 #include "ppapi/proxy/proxy_channel.h"
11 namespace content {
13 class PepperProxyChannelDelegateImpl
14 : public ppapi::proxy::ProxyChannel::Delegate {
15 public:
16 ~PepperProxyChannelDelegateImpl() override;
18 // ProxyChannel::Delegate implementation.
19 base::SingleThreadTaskRunner* GetIPCTaskRunner() override;
20 base::WaitableEvent* GetShutdownEvent() override;
21 IPC::PlatformFileForTransit ShareHandleWithRemote(
22 base::PlatformFile handle,
23 base::ProcessId remote_pid,
24 bool should_close_source) override;
25 base::SharedMemoryHandle ShareSharedMemoryHandleWithRemote(
26 const base::SharedMemoryHandle& handle,
27 base::ProcessId remote_pid) override;
30 } // namespace content
32 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_