| Index: chrome/browser/renderer_host/render_process_host.h
|
| diff --git a/chrome/browser/renderer_host/render_process_host.h b/chrome/browser/renderer_host/render_process_host.h
|
| index 8b90b3d1c901566675ebd24f5762530cfe257e45..4f8179cd9dfef4653b9ae80a028b9bf910a0e915 100644
|
| --- a/chrome/browser/renderer_host/render_process_host.h
|
| +++ b/chrome/browser/renderer_host/render_process_host.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/process.h"
|
| #include "base/scoped_ptr.h"
|
| #include "chrome/common/ipc_sync_channel.h"
|
| +#include "chrome/common/transport_dib.h"
|
|
|
| class Profile;
|
|
|
| @@ -124,6 +125,15 @@ class RenderProcessHost : public IPC::Channel::Sender,
|
| // Returns True if it was able to do fast shutdown.
|
| virtual bool FastShutdownIfPossible() = 0;
|
|
|
| + // Transport DIB functions ---------------------------------------------------
|
| +
|
| + // Return the TransportDIB for the given id. On Linux, this can involve
|
| + // mapping shared memory. On Mac, the shared memory is created in the browser
|
| + // process and the cached metadata is returned. On Windows, this involves
|
| + // duplicating the handle from the remote process. The RenderProcessHost
|
| + // still owns the returned DIB.
|
| + virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) = 0;
|
| +
|
| // Static management functions -----------------------------------------------
|
|
|
| // Flag to run the renderer in process. This is primarily
|
|
|