| 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 |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "base/histogram.h" |
| 13 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
| 14 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
| 15 #include "base/shared_memory.h" | 16 #include "base/shared_memory.h" |
| 16 #include "base/stl_util-inl.h" | 17 #include "base/stl_util-inl.h" |
| 17 #include "base/time.h" | 18 #include "base/time.h" |
| 18 #include "chrome/browser/cert_store.h" | 19 #include "chrome/browser/cert_store.h" |
| 19 #include "chrome/browser/child_process_security_policy.h" | 20 #include "chrome/browser/child_process_security_policy.h" |
| 20 #include "chrome/browser/chrome_blob_storage_context.h" | 21 #include "chrome/browser/chrome_blob_storage_context.h" |
| 21 #include "chrome/browser/cross_site_request_manager.h" | 22 #include "chrome/browser/cross_site_request_manager.h" |
| 22 #include "chrome/browser/download/download_file_manager.h" | 23 #include "chrome/browser/download/download_file_manager.h" |
| (...skipping 1857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1880 return is_prefetch_enabled_; | 1881 return is_prefetch_enabled_; |
| 1881 } | 1882 } |
| 1882 | 1883 |
| 1883 // static | 1884 // static |
| 1884 void ResourceDispatcherHost::set_is_prefetch_enabled(bool value) { | 1885 void ResourceDispatcherHost::set_is_prefetch_enabled(bool value) { |
| 1885 is_prefetch_enabled_ = value; | 1886 is_prefetch_enabled_ = value; |
| 1886 } | 1887 } |
| 1887 | 1888 |
| 1888 // static | 1889 // static |
| 1889 bool ResourceDispatcherHost::is_prefetch_enabled_ = false; | 1890 bool ResourceDispatcherHost::is_prefetch_enabled_ = false; |
| OLD | NEW |