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

Unified Diff: content/browser/plugin_service_impl.h

Issue 11235068: Move the remaning files in content\common to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/plugin_process_host_mac.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_service_impl.h
===================================================================
--- content/browser/plugin_service_impl.h (revision 163632)
+++ content/browser/plugin_service_impl.h (working copy)
@@ -36,43 +36,41 @@
#include "base/files/file_path_watcher.h"
#endif
-class PluginDirWatcherDelegate;
-class PluginLoaderPosix;
-
namespace base {
class MessageLoopProxy;
}
+namespace webkit {
+namespace npapi {
+class PluginList;
+}
+}
+
namespace content {
class BrowserContext;
+class PluginDirWatcherDelegate;
+class PluginLoaderPosix;
class PluginServiceFilter;
class ResourceContext;
struct PepperPluginInfo;
-}
-namespace webkit {
-namespace npapi {
-class PluginList;
-}
-}
-
// 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 @@
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 @@
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 @@
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 @@
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 @@
DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_
« no previous file with comments | « content/browser/plugin_process_host_mac.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698