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

Side by Side Diff: content/renderer/pepper/pepper_proxy_channel_delegate_impl.h

Issue 10378057: Broker out PPAPI handle duplication (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ppapi/proxy/proxy_channel.h" 9 #include "ppapi/proxy/proxy_channel.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 class PepperProxyChannelDelegateImpl 13 class PepperProxyChannelDelegateImpl
14 : public ppapi::proxy::ProxyChannel::Delegate { 14 : public ppapi::proxy::ProxyChannel::Delegate {
15 public: 15 public:
16 virtual ~PepperProxyChannelDelegateImpl(); 16 virtual ~PepperProxyChannelDelegateImpl();
17 17
18 // ProxyChannel::Delegate implementation. 18 // ProxyChannel::Delegate implementation.
19 virtual base::MessageLoopProxy* GetIPCMessageLoop() OVERRIDE; 19 virtual base::MessageLoopProxy* GetIPCMessageLoop() OVERRIDE;
20 virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; 20 virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE;
21 virtual IPC::PlatformFileForTransit ShareHandleWithRemote(
22 base::PlatformFile handle,
23 const IPC::SyncChannel& channel,
24 bool should_close_source) OVERRIDE;
21 }; 25 };
22 26
23 } // namespace content 27 } // namespace content
24 28
25 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_ 29 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PROXY_CHANNEL_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698