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

Unified Diff: content/plugin/plugin_thread.cc

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac 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/plugin/plugin_thread.h ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_thread.cc
===================================================================
--- content/plugin/plugin_thread.cc (revision 163080)
+++ content/plugin/plugin_thread.cc (working copy)
@@ -39,6 +39,8 @@
#include "ui/base/x/x11_util.h"
#endif
+namespace content {
+
namespace {
class EnsureTerminateMessageFilter : public IPC::ChannelProxy::MessageFilter {
@@ -121,10 +123,10 @@
plugin->set_defer_unload(true);
}
- content::GetContentClient()->plugin()->PluginProcessStarted(
+ GetContentClient()->plugin()->PluginProcessStarted(
plugin.get() ? plugin->plugin_info().name : string16());
- content::GetContentClient()->AddNPAPIPlugins(
+ GetContentClient()->AddNPAPIPlugins(
webkit::npapi::PluginList::Singleton());
// Certain plugins, such as flash, steal the unhandled exception filter
@@ -183,3 +185,5 @@
void PluginThread::OnNotifyRenderersOfPendingShutdown() {
PluginChannel::NotifyRenderersOfPendingShutdown();
}
+
+} // namespace content
« no previous file with comments | « content/plugin/plugin_thread.h ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698