diff options
Diffstat (limited to 'chrome/common/resource_dispatcher.h')
-rw-r--r-- | chrome/common/resource_dispatcher.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h index 8ad20fe..f4494a5 100644 --- a/chrome/common/resource_dispatcher.h +++ b/chrome/common/resource_dispatcher.h @@ -114,6 +114,12 @@ class ResourceDispatcher { // Returns true if the message passed in is a resource related message. static bool IsResourceDispatcherMessage(const IPC::Message& message); + // ViewHostMsg_Resource_DataReceived is not POD, it has a shared memory + // handle in it that we should cleanup it up nicely. This method accepts any + // message and determine whether the message is + // ViewHostMsg_Resource_DataReceived and clean up the shared memory handle. + void ReleaseResourcesInDataMessage(const IPC::Message& message); + IPC::Message::Sender* message_sender_; // All pending requests issued to the host |