summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_service_impl.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/plugin_service_impl.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/plugin_service_impl.h')
-rw-r--r--content/browser/plugin_service_impl.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/content/browser/plugin_service_impl.h b/content/browser/plugin_service_impl.h
index a185fec..6bca392 100644
--- a/content/browser/plugin_service_impl.h
+++ b/content/browser/plugin_service_impl.h
@@ -36,43 +36,41 @@
#include "base/files/file_path_watcher.h"
#endif
-class PluginDirWatcherDelegate;
-class PluginLoaderPosix;
-
namespace base {
class MessageLoopProxy;
}
-namespace content {
-class BrowserContext;
-class PluginServiceFilter;
-class ResourceContext;
-struct PepperPluginInfo;
-}
-
namespace webkit {
namespace npapi {
class PluginList;
}
}
+namespace content {
+class BrowserContext;
+class PluginDirWatcherDelegate;
+class PluginLoaderPosix;
+class PluginServiceFilter;
+class ResourceContext;
+struct PepperPluginInfo;
+
// base::Bind() has limited arity, and the filter-related methods tend to
// surpass that limit.
struct PluginServiceFilterParams {
int render_process_id;
int render_view_id;
GURL page_url;
- content::ResourceContext* resource_context;
+ ResourceContext* resource_context;
};
class CONTENT_EXPORT PluginServiceImpl
- : NON_EXPORTED_BASE(public content::PluginService),
+ : NON_EXPORTED_BASE(public PluginService),
public base::WaitableEventWatcher::Delegate {
public:
// Returns the PluginServiceImpl singleton.
static PluginServiceImpl* GetInstance();
- // content::PluginService implementation:
+ // PluginService implementation:
virtual void Init() OVERRIDE;
virtual void StartWatchingPlugins() OVERRIDE;
virtual bool GetPluginInfoArray(
@@ -83,7 +81,7 @@ class CONTENT_EXPORT PluginServiceImpl
std::vector<std::string>* actual_mime_types) OVERRIDE;
virtual bool GetPluginInfo(int render_process_id,
int render_view_id,
- content::ResourceContext* context,
+ ResourceContext* context,
const GURL& url,
const GURL& page_url,
const std::string& mime_type,
@@ -95,10 +93,10 @@ class CONTENT_EXPORT PluginServiceImpl
webkit::WebPluginInfo* info) OVERRIDE;
virtual string16 GetPluginDisplayNameByPath(const FilePath& path) OVERRIDE;
virtual void GetPlugins(const GetPluginsCallback& callback) OVERRIDE;
- virtual content::PepperPluginInfo* GetRegisteredPpapiPluginInfo(
+ virtual PepperPluginInfo* GetRegisteredPpapiPluginInfo(
const FilePath& plugin_path) OVERRIDE;
- virtual void SetFilter(content::PluginServiceFilter* filter) OVERRIDE;
- virtual content::PluginServiceFilter* GetFilter() OVERRIDE;
+ virtual void SetFilter(PluginServiceFilter* filter) OVERRIDE;
+ virtual PluginServiceFilter* GetFilter() OVERRIDE;
virtual void ForcePluginShutdown(const FilePath& plugin_path) OVERRIDE;
virtual bool IsPluginUnstable(const FilePath& plugin_path) OVERRIDE;
virtual void RefreshPlugins() OVERRIDE;
@@ -196,7 +194,7 @@ class CONTENT_EXPORT PluginServiceImpl
const GURL& page_url,
const std::string& mime_type,
PluginProcessHost::Client* client,
- content::ResourceContext* resource_context);
+ ResourceContext* resource_context);
// Helper so we can finish opening the channel after looking up the
// plugin.
@@ -230,10 +228,10 @@ class CONTENT_EXPORT PluginServiceImpl
scoped_refptr<PluginDirWatcherDelegate> file_watcher_delegate_;
#endif
- std::vector<content::PepperPluginInfo> ppapi_plugins_;
+ std::vector<PepperPluginInfo> ppapi_plugins_;
// Weak pointer; outlives us.
- content::PluginServiceFilter* filter_;
+ PluginServiceFilter* filter_;
std::set<PluginProcessHost::Client*> pending_plugin_clients_;
@@ -251,4 +249,6 @@ class CONTENT_EXPORT PluginServiceImpl
DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_