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

Unified Diff: chrome/browser/renderer_host/resource_dispatcher_host.h

Issue 42384: Remove useless BlockedRequest class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | « no previous file | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_dispatcher_host.h
===================================================================
--- chrome/browser/renderer_host/resource_dispatcher_host.h (revision 11892)
+++ chrome/browser/renderer_host/resource_dispatcher_host.h (working copy)
@@ -371,14 +371,6 @@
friend class ShutdownTask;
- // TODO(abarth): We don't need this struct any more. Let's get rid of it.
- struct BlockedRequest {
- explicit BlockedRequest(URLRequest* url_request)
- : url_request(url_request) {
- }
- URLRequest* url_request;
- };
-
// A shutdown helper that runs on the IO thread.
void OnShutdown();
@@ -527,7 +519,7 @@
// True if the resource dispatcher host has been shut down.
bool is_shutdown_;
- typedef std::vector<BlockedRequest> BlockedRequestsList;
+ typedef std::vector<URLRequest*> BlockedRequestsList;
typedef std::pair<int, int> ProcessRouteIDs;
typedef std::map<ProcessRouteIDs, BlockedRequestsList*> BlockedRequestMap;
BlockedRequestMap blocked_requests_map_;
« no previous file with comments | « no previous file | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698