#ifndef CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_PEER_H_
#define CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_PEER_H_
#include "base/process/process.h"
#include "ui/gl/android/surface_texture.h"
namespace content {
class SurfaceTexturePeer {
public:
static SurfaceTexturePeer* GetInstance();
static void InitInstance(SurfaceTexturePeer* instance);
virtual void EstablishSurfaceTexturePeer(
base::ProcessHandle pid,
scoped_refptr<gfx::SurfaceTexture> surface_texture,
int primary_id,
int secondary_id) = 0;
protected:
SurfaceTexturePeer();
virtual ~SurfaceTexturePeer();
private:
DISALLOW_COPY_AND_ASSIGN(SurfaceTexturePeer);
};
}
#endif