Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: chrome/common/resource_dispatcher.h

Issue 20107: Cleanup some forward declared structs that are not being used. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/web_contents_view.h ('k') | chrome/common/temp_scaffolding_stubs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/resource_dispatcher.h
===================================================================
--- chrome/common/resource_dispatcher.h (revision 9264)
+++ chrome/common/resource_dispatcher.h (working copy)
@@ -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 @@
// 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 @@
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);
« no previous file with comments | « chrome/browser/tab_contents/web_contents_view.h ('k') | chrome/common/temp_scaffolding_stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698