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

Side by Side Diff: content/browser/renderer_host/resource_dispatcher_host.cc

Issue 7618048: Move the core download files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #include "content/browser/renderer_host/resource_dispatcher_host.h" 7 #include "content/browser/renderer_host/resource_dispatcher_host.h"
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/message_loop.h" 17 #include "base/message_loop.h"
18 #include "base/metrics/histogram.h" 18 #include "base/metrics/histogram.h"
19 #include "base/shared_memory.h" 19 #include "base/shared_memory.h"
20 #include "base/stl_util.h" 20 #include "base/stl_util.h"
21 #include "chrome/browser/download/download_file_manager.h"
22 #include "chrome/browser/download/download_manager.h"
23 #include "chrome/browser/download/download_request_limiter.h" 21 #include "chrome/browser/download/download_request_limiter.h"
24 #include "chrome/browser/download/download_util.h" 22 #include "chrome/browser/download/download_util.h"
25 #include "chrome/browser/renderer_host/download_resource_handler.h" 23 #include "chrome/browser/renderer_host/download_resource_handler.h"
26 #include "content/browser/appcache/chrome_appcache_service.h" 24 #include "content/browser/appcache/chrome_appcache_service.h"
27 #include "content/browser/cert_store.h" 25 #include "content/browser/cert_store.h"
28 #include "content/browser/child_process_security_policy.h" 26 #include "content/browser/child_process_security_policy.h"
29 #include "content/browser/chrome_blob_storage_context.h" 27 #include "content/browser/chrome_blob_storage_context.h"
30 #include "content/browser/content_browser_client.h" 28 #include "content/browser/content_browser_client.h"
31 #include "content/browser/cross_site_request_manager.h" 29 #include "content/browser/cross_site_request_manager.h"
30 #include "content/browser/download/download_file_manager.h"
31 #include "content/browser/download/download_manager.h"
32 #include "content/browser/download/save_file_manager.h" 32 #include "content/browser/download/save_file_manager.h"
33 #include "content/browser/download/save_file_resource_handler.h" 33 #include "content/browser/download/save_file_resource_handler.h"
34 #include "content/browser/in_process_webkit/webkit_thread.h" 34 #include "content/browser/in_process_webkit/webkit_thread.h"
35 #include "content/browser/plugin_service.h" 35 #include "content/browser/plugin_service.h"
36 #include "content/browser/resource_context.h" 36 #include "content/browser/resource_context.h"
37 #include "content/browser/renderer_host/async_resource_handler.h" 37 #include "content/browser/renderer_host/async_resource_handler.h"
38 #include "content/browser/renderer_host/buffered_resource_handler.h" 38 #include "content/browser/renderer_host/buffered_resource_handler.h"
39 #include "content/browser/renderer_host/cross_site_resource_handler.h" 39 #include "content/browser/renderer_host/cross_site_resource_handler.h"
40 #include "content/browser/renderer_host/global_request_id.h" 40 #include "content/browser/renderer_host/global_request_id.h"
41 #include "content/browser/renderer_host/redirect_to_file_resource_handler.h" 41 #include "content/browser/renderer_host/redirect_to_file_resource_handler.h"
(...skipping 2074 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 return HTTP_AUTH_RESOURCE_BLOCKED_CROSS; 2116 return HTTP_AUTH_RESOURCE_BLOCKED_CROSS;
2117 } 2117 }
2118 2118
2119 bool ResourceDispatcherHost::allow_cross_origin_auth_prompt() { 2119 bool ResourceDispatcherHost::allow_cross_origin_auth_prompt() {
2120 return allow_cross_origin_auth_prompt_; 2120 return allow_cross_origin_auth_prompt_;
2121 } 2121 }
2122 2122
2123 void ResourceDispatcherHost::set_allow_cross_origin_auth_prompt(bool value) { 2123 void ResourceDispatcherHost::set_allow_cross_origin_auth_prompt(bool value) {
2124 allow_cross_origin_auth_prompt_ = value; 2124 allow_cross_origin_auth_prompt_ = value;
2125 } 2125 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698