diff options
Diffstat (limited to 'chrome/common/resource_dispatcher.h')
-rw-r--r-- | chrome/common/resource_dispatcher.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h index 5ea97e4..53fc665 100644 --- a/chrome/common/resource_dispatcher.h +++ b/chrome/common/resource_dispatcher.h @@ -64,10 +64,6 @@ class ResourceDispatcher { // Toggles the is_deferred attribute for the specified request. void SetDefersLoading(int request_id, bool value); - // Returns true if the message passed in is a resource related - // message. - bool IsResourceMessage(const IPC::Message& message) const; - private: friend class ResourceDispatcherTest; @@ -117,6 +113,9 @@ class ResourceDispatcher { // again in the deferred state. void FlushDeferredMessages(int request_id); + // Returns true if the message passed in is a resource related message. + static bool IsResourceDispatcherMessage(const IPC::Message& message); + IPC::Message::Sender* message_sender_; // All pending requests issued to the host |