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

Unified Diff: content/browser/renderer_host/image_transport_factory.cc

Issue 11343017: Move remaining files in content\browser\renderer_host to 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
Index: content/browser/renderer_host/image_transport_factory.cc
===================================================================
--- content/browser/renderer_host/image_transport_factory.cc (revision 164665)
+++ content/browser/renderer_host/image_transport_factory.cc (working copy)
@@ -32,14 +32,7 @@
#include "ui/surface/accelerated_surface_win.h"
#endif
-using content::BrowserGpuChannelHostFactory;
-using content::GLHelper;
-using content::GpuChannelHostFactory;
-using content::GpuDataManagerImpl;
-using content::GpuSurfaceTracker;
-using content::WebGraphicsContext3DCommandBufferImpl;
-using content::WebGraphicsContext3DSwapBuffersClient;
-
+namespace content {
namespace {
ImageTransportFactory* g_factory;
@@ -428,7 +421,7 @@
if (!context->Initialize(
attrs,
false,
- content::CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZE))
+ CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZE))
return NULL;
return context.release();
}
@@ -495,7 +488,7 @@
}
if (ui::IsTestCompositorEnabled()) {
g_factory = new DefaultTransportFactory();
- content::WebKitPlatformSupportImpl::SetOffscreenContextFactoryForTest(
+ WebKitPlatformSupportImpl::SetOffscreenContextFactoryForTest(
CreateTestContext);
} else {
g_factory = new GpuProcessTransportFactory();
@@ -514,3 +507,5 @@
ImageTransportFactory* ImageTransportFactory::GetInstance() {
return g_factory;
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698