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

Side by Side Diff: chrome/browser/renderer_host/resource_dispatcher_host.h

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This is the browser side of the resource dispatcher, it receives requests 5 // This is the browser side of the resource dispatcher, it receives requests
6 // from the RenderProcessHosts, and dispatches them to URLRequests. It then 6 // from the RenderProcessHosts, and dispatches them to URLRequests. It then
7 // fowards the messages from the URLRequests back to the correct process for 7 // fowards the messages from the URLRequests back to the correct process for
8 // handling. 8 // handling.
9 // 9 //
10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
11 11
12 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_ 12 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_
13 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_ 13 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_
14 14
15 #include <map> 15 #include <map>
16 #include <string>
17 #include <vector>
18 16
19 #include "base/logging.h"
20 #include "base/observer_list.h" 17 #include "base/observer_list.h"
21 #include "base/process.h" 18 #include "base/process.h"
22 #include "base/ref_counted.h"
23 #include "base/timer.h" 19 #include "base/timer.h"
24 #include "chrome/browser/renderer_host/resource_handler.h" 20 #include "chrome/browser/renderer_host/resource_handler.h"
25 #include "chrome/common/filter_policy.h" 21 #include "chrome/common/filter_policy.h"
26 #include "chrome/common/ipc_message.h" 22 #include "chrome/common/ipc_message.h"
27 #include "net/url_request/url_request.h" 23 #include "net/url_request/url_request.h"
28 #include "webkit/glue/resource_type.h" 24 #include "webkit/glue/resource_type.h"
29 25
30 class CrossSiteResourceHandler; 26 class CrossSiteResourceHandler;
31 class DownloadFileManager; 27 class DownloadFileManager;
32 class DownloadRequestManager; 28 class DownloadRequestManager;
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 // individual requests is given by CalculateApproximateMemoryCost). 519 // individual requests is given by CalculateApproximateMemoryCost).
524 // The total number of outstanding requests is roughly: 520 // The total number of outstanding requests is roughly:
525 // (max_outstanding_requests_cost_per_process_ / 521 // (max_outstanding_requests_cost_per_process_ /
526 // kAvgBytesPerOutstandingRequest) 522 // kAvgBytesPerOutstandingRequest)
527 int max_outstanding_requests_cost_per_process_; 523 int max_outstanding_requests_cost_per_process_;
528 524
529 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost); 525 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost);
530 }; 526 };
531 527
532 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_ 528 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698