summaryrefslogtreecommitdiffstats
path: root/content/browser/ppapi_plugin_process_host.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-24 00:26:19 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-24 00:26:19 +0000
commit130757671de6d0dc4b54dd3ef11c1b9eb5f039cc (patch)
tree0c92593a755e31425f69d8c3c345fff10287c4ce /content/browser/ppapi_plugin_process_host.h
parent375abf5c85ab185e3d659cde1e585aff2f8e6b3a (diff)
downloadchromium_src-130757671de6d0dc4b54dd3ef11c1b9eb5f039cc.zip
chromium_src-130757671de6d0dc4b54dd3ef11c1b9eb5f039cc.tar.gz
chromium_src-130757671de6d0dc4b54dd3ef11c1b9eb5f039cc.tar.bz2
Move the remaning files in content\common to the content namespace.
Review URL: https://codereview.chromium.org/11235068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/ppapi_plugin_process_host.h')
-rw-r--r--content/browser/ppapi_plugin_process_host.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h
index b19536e..e472c11 100644
--- a/content/browser/ppapi_plugin_process_host.h
+++ b/content/browser/ppapi_plugin_process_host.h
@@ -20,20 +20,18 @@
#include "ipc/ipc_sender.h"
#include "ppapi/shared_impl/ppapi_permissions.h"
-class BrowserChildProcessHostImpl;
-
-namespace content {
-struct PepperPluginInfo;
-class ResourceContext;
-}
-
namespace net {
class HostResolver;
}
+namespace content {
+class BrowserChildProcessHostImpl;
+class ResourceContext;
+struct PepperPluginInfo;
+
// Process host for PPAPI plugin and broker processes.
// When used for the broker, interpret all references to "plugin" with "broker".
-class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate,
+class PpapiPluginProcessHost : public BrowserChildProcessHostDelegate,
public IPC::Sender {
public:
class Client {
@@ -61,7 +59,7 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate,
class PluginClient : public Client {
public:
// Returns the resource context for the renderer requesting the channel.
- virtual content::ResourceContext* GetResourceContext() = 0;
+ virtual ResourceContext* GetResourceContext() = 0;
protected:
virtual ~PluginClient() {}
@@ -75,11 +73,11 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate,
virtual ~PpapiPluginProcessHost();
static PpapiPluginProcessHost* CreatePluginHost(
- const content::PepperPluginInfo& info,
+ const PepperPluginInfo& info,
const FilePath& profile_data_directory,
net::HostResolver* host_resolver);
static PpapiPluginProcessHost* CreateBrokerHost(
- const content::PepperPluginInfo& info);
+ const PepperPluginInfo& info);
// Notification that a PP_Instance has been created for the given
// RenderView/Process pair for the given plugin. This is necessary so that
@@ -113,14 +111,14 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate,
// Constructors for plugin and broker process hosts, respectively.
// You must call Init before doing anything else.
- PpapiPluginProcessHost(const content::PepperPluginInfo& info,
+ PpapiPluginProcessHost(const PepperPluginInfo& info,
const FilePath& profile_data_directory,
net::HostResolver* host_resolver);
PpapiPluginProcessHost();
// Actually launches the process with the given plugin info. Returns true
// on success (the process was spawned).
- bool Init(const content::PepperPluginInfo& info);
+ bool Init(const PepperPluginInfo& info);
void RequestPluginChannel(Client* client);
@@ -140,7 +138,7 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate,
scoped_refptr<PepperMessageFilter> filter_;
ppapi::PpapiPermissions permissions_;
- scoped_refptr<content::BrowserPpapiHostImpl> host_impl_;
+ scoped_refptr<BrowserPpapiHostImpl> host_impl_;
// Handles filesystem requests from flash plugins. May be NULL.
scoped_refptr<PepperFileMessageFilter> file_filter_;
@@ -170,22 +168,24 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate,
};
class PpapiPluginProcessHostIterator
- : public content::BrowserChildProcessHostTypeIterator<
+ : public BrowserChildProcessHostTypeIterator<
PpapiPluginProcessHost> {
public:
PpapiPluginProcessHostIterator()
- : content::BrowserChildProcessHostTypeIterator<
- PpapiPluginProcessHost>(content::PROCESS_TYPE_PPAPI_PLUGIN) {}
+ : BrowserChildProcessHostTypeIterator<
+ PpapiPluginProcessHost>(PROCESS_TYPE_PPAPI_PLUGIN) {}
};
class PpapiBrokerProcessHostIterator
- : public content::BrowserChildProcessHostTypeIterator<
+ : public BrowserChildProcessHostTypeIterator<
PpapiPluginProcessHost> {
public:
PpapiBrokerProcessHostIterator()
- : content::BrowserChildProcessHostTypeIterator<
- PpapiPluginProcessHost>(content::PROCESS_TYPE_PPAPI_BROKER) {}
+ : BrowserChildProcessHostTypeIterator<
+ PpapiPluginProcessHost>(PROCESS_TYPE_PPAPI_BROKER) {}
};
+} // namespace content
+
#endif // CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_