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

Unified Diff: content/app/android/child_process_service.cc

Issue 1823763003: Move more files to gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Android Build Created 4 years, 9 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 | « no previous file | content/browser/browser_main_loop.cc » ('j') | gpu/ipc/common/gpu_process_launch_causes.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/android/child_process_service.cc
diff --git a/content/app/android/child_process_service.cc b/content/app/android/child_process_service.cc
index 0e2bfc2b028d89a3f07e5f5810e7387a142b1146..e9147712e279d187aa32205767be43e1b70a6db7 100644
--- a/content/app/android/child_process_service.cc
+++ b/content/app/android/child_process_service.cc
@@ -14,10 +14,10 @@
#include "base/macros.h"
#include "base/posix/global_descriptors.h"
#include "content/child/child_thread_impl.h"
-#include "content/common/gpu/gpu_surface_lookup.h"
#include "content/public/common/content_descriptors.h"
#include "gpu/ipc/common/android/surface_texture_manager.h"
#include "gpu/ipc/common/android/surface_texture_peer.h"
+#include "gpu/ipc/common/gpu_surface_lookup.h"
#include "ipc/ipc_descriptors.h"
#include "jni/ChildProcessService_jni.h"
#include "ui/gl/android/scoped_java_surface.h"
@@ -34,7 +34,7 @@ namespace {
// we're in a renderer or gpu process.
class SurfaceTextureManagerImpl : public gpu::SurfaceTextureManager,
public gpu::SurfaceTexturePeer,
- public GpuSurfaceLookup {
+ public gpu::GpuSurfaceLookup {
public:
// |service| is the instance of
// org.chromium.content.app.ChildProcessService.
@@ -42,11 +42,11 @@ class SurfaceTextureManagerImpl : public gpu::SurfaceTextureManager,
const base::android::JavaRef<jobject>& service)
: service_(service) {
SurfaceTexturePeer::InitInstance(this);
- GpuSurfaceLookup::InitInstance(this);
+ gpu::GpuSurfaceLookup::InitInstance(this);
}
~SurfaceTextureManagerImpl() override {
SurfaceTexturePeer::InitInstance(NULL);
- GpuSurfaceLookup::InitInstance(NULL);
+ gpu::GpuSurfaceLookup::InitInstance(NULL);
}
// Overridden from SurfaceTextureManager:
@@ -103,7 +103,7 @@ class SurfaceTextureManagerImpl : public gpu::SurfaceTextureManager,
secondary_id);
}
- // Overridden from GpuSurfaceLookup:
+ // Overridden from gpu::GpuSurfaceLookup:
gfx::AcceleratedWidget AcquireNativeWidget(int surface_id) override {
JNIEnv* env = base::android::AttachCurrentThread();
gfx::ScopedJavaSurface surface(
@@ -123,7 +123,7 @@ class SurfaceTextureManagerImpl : public gpu::SurfaceTextureManager,
return native_window;
}
- // Overridden from GpuSurfaceLookup:
+ // Overridden from gpu::GpuSurfaceLookup:
gfx::ScopedJavaSurface AcquireJavaSurface(int surface_id) override {
JNIEnv* env = base::android::AttachCurrentThread();
return gfx::ScopedJavaSurface(
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | gpu/ipc/common/gpu_process_launch_causes.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698