| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/resource_dispatcher_host.h" | 7 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "chrome/browser/renderer_host/save_file_resource_handler.h" | 46 #include "chrome/browser/renderer_host/save_file_resource_handler.h" |
| 47 #include "chrome/browser/renderer_host/socket_stream_dispatcher_host.h" | 47 #include "chrome/browser/renderer_host/socket_stream_dispatcher_host.h" |
| 48 #include "chrome/browser/renderer_host/sync_resource_handler.h" | 48 #include "chrome/browser/renderer_host/sync_resource_handler.h" |
| 49 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 49 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| 50 #include "chrome/browser/ssl/ssl_client_auth_handler.h" | 50 #include "chrome/browser/ssl/ssl_client_auth_handler.h" |
| 51 #include "chrome/browser/ssl/ssl_manager.h" | 51 #include "chrome/browser/ssl/ssl_manager.h" |
| 52 #include "chrome/browser/worker_host/worker_service.h" | 52 #include "chrome/browser/worker_host/worker_service.h" |
| 53 #include "chrome/common/chrome_switches.h" | 53 #include "chrome/common/chrome_switches.h" |
| 54 #include "chrome/common/notification_service.h" | 54 #include "chrome/common/notification_service.h" |
| 55 #include "chrome/common/render_messages.h" | 55 #include "chrome/common/render_messages.h" |
| 56 #include "chrome/common/render_messages_params.h" |
| 56 #include "chrome/common/url_constants.h" | 57 #include "chrome/common/url_constants.h" |
| 57 #include "net/base/auth.h" | 58 #include "net/base/auth.h" |
| 58 #include "net/base/cert_status_flags.h" | 59 #include "net/base/cert_status_flags.h" |
| 59 #include "net/base/load_flags.h" | 60 #include "net/base/load_flags.h" |
| 60 #include "net/base/mime_util.h" | 61 #include "net/base/mime_util.h" |
| 61 #include "net/base/net_errors.h" | 62 #include "net/base/net_errors.h" |
| 62 #include "net/base/request_priority.h" | 63 #include "net/base/request_priority.h" |
| 63 #include "net/base/ssl_cert_request_info.h" | 64 #include "net/base/ssl_cert_request_info.h" |
| 65 #include "net/base/upload_data.h" |
| 64 #include "net/http/http_response_headers.h" | 66 #include "net/http/http_response_headers.h" |
| 65 #include "net/url_request/url_request.h" | 67 #include "net/url_request/url_request.h" |
| 66 #include "net/url_request/url_request_context.h" | 68 #include "net/url_request/url_request_context.h" |
| 67 #include "webkit/appcache/appcache_interceptor.h" | 69 #include "webkit/appcache/appcache_interceptor.h" |
| 68 #include "webkit/appcache/appcache_interfaces.h" | 70 #include "webkit/appcache/appcache_interfaces.h" |
| 69 | 71 |
| 70 // TODO(oshima): Enable this for other platforms. | 72 // TODO(oshima): Enable this for other platforms. |
| 71 #if defined(OS_CHROMEOS) | 73 #if defined(OS_CHROMEOS) |
| 72 #include "chrome/browser/renderer_host/offline_resource_handler.h" | 74 #include "chrome/browser/renderer_host/offline_resource_handler.h" |
| 73 #endif | 75 #endif |
| (...skipping 1792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1866 return is_prefetch_enabled_; | 1868 return is_prefetch_enabled_; |
| 1867 } | 1869 } |
| 1868 | 1870 |
| 1869 // static | 1871 // static |
| 1870 void ResourceDispatcherHost::set_is_prefetch_enabled(bool value) { | 1872 void ResourceDispatcherHost::set_is_prefetch_enabled(bool value) { |
| 1871 is_prefetch_enabled_ = value; | 1873 is_prefetch_enabled_ = value; |
| 1872 } | 1874 } |
| 1873 | 1875 |
| 1874 // static | 1876 // static |
| 1875 bool ResourceDispatcherHost::is_prefetch_enabled_ = false; | 1877 bool ResourceDispatcherHost::is_prefetch_enabled_ = false; |
| OLD | NEW |