diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 22:47:10 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 22:47:10 +0000 |
commit | a60551c712b36d6241c234cd81ae2a847f323ec5 (patch) | |
tree | ff5f9f239fd0dc3b58d2905bcabea14207cb737c /chrome/common/resource_dispatcher.h | |
parent | 2761ff93c55cc556f1ddc35bca023442bbc3ab00 (diff) | |
download | chromium_src-a60551c712b36d6241c234cd81ae2a847f323ec5.zip chromium_src-a60551c712b36d6241c234cd81ae2a847f323ec5.tar.gz chromium_src-a60551c712b36d6241c234cd81ae2a847f323ec5.tar.bz2 |
Cleanup some forward declared structs that are not being used.
Also do some lint removal while I'm at it.
Review URL: http://codereview.chromium.org/20107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/resource_dispatcher.h')
-rw-r--r-- | chrome/common/resource_dispatcher.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h index 32e054b..a6b73d5 100644 --- a/chrome/common/resource_dispatcher.h +++ b/chrome/common/resource_dispatcher.h @@ -7,7 +7,9 @@ #ifndef CHROME_COMMON_RESOURCE_DISPATCHER_H__ #define CHROME_COMMON_RESOURCE_DISPATCHER_H__ +#include <deque> #include <queue> +#include <string> #include "base/hash_tables.h" #include "base/shared_memory.h" @@ -17,7 +19,6 @@ #include "webkit/glue/resource_loader_bridge.h" struct ResourceResponseHead; -struct ViewMsg_Resource_ResponseHead; // Uncomment this to disable loading resources via the parent process. This // may be useful for debugging purposes. @@ -29,7 +30,7 @@ struct ViewMsg_Resource_ResponseHead; // processes. class ResourceDispatcher : public base::RefCounted<ResourceDispatcher> { public: - ResourceDispatcher(IPC::Message::Sender* sender); + explicit ResourceDispatcher(IPC::Message::Sender* sender); ~ResourceDispatcher(); // Called to possibly handle the incoming IPC message. Returns true if @@ -99,7 +100,7 @@ class ResourceDispatcher : public base::RefCounted<ResourceDispatcher> { bool mixed_content; bool is_deferred; }; - typedef base::hash_map<int,PendingRequestInfo> PendingRequestList; + typedef base::hash_map<int, PendingRequestInfo> PendingRequestList; // Message response handlers, called by the message handler for this process. void OnUploadProgress(int request_id, int64 position, int64 size); |