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
diff --git a/content/browser/plugin_loader_posix.h b/content/browser/plugin_loader_posix.h
index ad9e9f1..dca29efd3 100644
--- a/content/browser/plugin_loader_posix.h
+++ b/content/browser/plugin_loader_posix.h
@@ -23,7 +23,6 @@
namespace content {
class UtilityProcessHost;
-}
// This class is responsible for managing the out-of-process plugin loading on
// POSIX systems. It primarily lives on the IO thread, but has a brief stay on
@@ -47,7 +46,7 @@
// end, after which the list of loaded plugins is set on the PluginList and
// the completion callback is run.
class CONTENT_EXPORT PluginLoaderPosix
- : public NON_EXPORTED_BASE(content::UtilityProcessHostClient),
+ : public NON_EXPORTED_BASE(UtilityProcessHostClient),
public IPC::Sender {
public:
PluginLoaderPosix();
@@ -55,7 +54,7 @@
// Must be called from the IO thread.
void LoadPlugins(
scoped_refptr<base::MessageLoopProxy> target_loop,
- const content::PluginService::GetPluginsCallback& callback);
+ const PluginService::GetPluginsCallback& callback);
// UtilityProcessHostClient:
virtual void OnProcessCrashed(int exit_code) OVERRIDE;
@@ -67,11 +66,11 @@
private:
struct PendingCallback {
PendingCallback(scoped_refptr<base::MessageLoopProxy> target_loop,
- const content::PluginService::GetPluginsCallback& callback);
+ const PluginService::GetPluginsCallback& callback);
~PendingCallback();
scoped_refptr<base::MessageLoopProxy> target_loop;
- content::PluginService::GetPluginsCallback callback;
+ PluginService::GetPluginsCallback callback;
};
virtual ~PluginLoaderPosix();
@@ -96,7 +95,7 @@
bool MaybeRunPendingCallbacks();
// The process host for which this is a client.
- base::WeakPtr<content::UtilityProcessHost> process_host_;
+ base::WeakPtr<UtilityProcessHost> process_host_;
// A list of paths to plugins which will be loaded by the utility process, in
// the order specified by this vector.
@@ -123,4 +122,6 @@
DISALLOW_COPY_AND_ASSIGN(PluginLoaderPosix);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_