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

Unified Diff: ppapi/proxy/enter_proxy.h

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « ppapi/proxy/dispatcher.h ('k') | ppapi/proxy/host_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/enter_proxy.h
===================================================================
--- ppapi/proxy/enter_proxy.h (revision 109579)
+++ ppapi/proxy/enter_proxy.h (working copy)
@@ -15,10 +15,6 @@
namespace ppapi {
-namespace thunk {
-class ResourceCreationAPI;
-}
-
namespace proxy {
// Wrapper around EnterResourceNoLock that takes a host resource. This is used
@@ -31,7 +27,7 @@
class EnterPluginFromHostResource
: public thunk::EnterResourceNoLock<ResourceT> {
public:
- EnterPluginFromHostResource(const HostResource& host_resource)
+ explicit EnterPluginFromHostResource(const HostResource& host_resource)
: thunk::EnterResourceNoLock<ResourceT>(
PluginGlobals::Get()->plugin_resource_tracker()->
PluginResourceForHostResource(host_resource),
@@ -48,7 +44,7 @@
class EnterHostFromHostResource
: public thunk::EnterResourceNoLock<ResourceT> {
public:
- EnterHostFromHostResource(const HostResource& host_resource)
+ explicit EnterHostFromHostResource(const HostResource& host_resource)
: thunk::EnterResourceNoLock<ResourceT>(
host_resource.host_resource(), false) {
// Validate that we're in the host rather than the plugin. Otherwise this
« no previous file with comments | « ppapi/proxy/dispatcher.h ('k') | ppapi/proxy/host_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698