| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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 #include "chrome/browser/net/chrome_network_delegate.h" |    5 #include "chrome/browser/net/chrome_network_delegate.h" | 
|    6  |    6  | 
|    7 #include "base/logging.h" |    7 #include "base/logging.h" | 
 |    8 #include "chrome/browser/api/prefs/pref_member.h" | 
|    8 #include "chrome/browser/browser_process.h" |    9 #include "chrome/browser/browser_process.h" | 
|    9 #include "chrome/browser/content_settings/cookie_settings.h" |   10 #include "chrome/browser/content_settings/cookie_settings.h" | 
|   10 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |   11 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 
|   11 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |   12 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 
|   12 #include "chrome/browser/extensions/api/proxy/proxy_api.h" |   13 #include "chrome/browser/extensions/api/proxy/proxy_api.h" | 
|   13 #include "chrome/browser/extensions/api/web_request/web_request_api.h" |   14 #include "chrome/browser/extensions/api/web_request/web_request_api.h" | 
|   14 #include "chrome/browser/extensions/event_router_forwarder.h" |   15 #include "chrome/browser/extensions/event_router_forwarder.h" | 
|   15 #include "chrome/browser/extensions/extension_info_map.h" |   16 #include "chrome/browser/extensions/extension_info_map.h" | 
|   16 #include "chrome/browser/extensions/extension_process_manager.h" |   17 #include "chrome/browser/extensions/extension_process_manager.h" | 
|   17 #include "chrome/browser/net/cache_stats.h" |   18 #include "chrome/browser/net/cache_stats.h" | 
|   18 #include "chrome/browser/prefs/pref_member.h" |  | 
|   19 #include "chrome/browser/profiles/profile_manager.h" |   19 #include "chrome/browser/profiles/profile_manager.h" | 
|   20 #include "chrome/browser/task_manager/task_manager.h" |   20 #include "chrome/browser/task_manager/task_manager.h" | 
|   21 #include "chrome/common/pref_names.h" |   21 #include "chrome/common/pref_names.h" | 
|   22 #include "chrome/common/url_constants.h" |   22 #include "chrome/common/url_constants.h" | 
|   23 #include "content/public/browser/browser_thread.h" |   23 #include "content/public/browser/browser_thread.h" | 
|   24 #include "content/public/browser/render_view_host.h" |   24 #include "content/public/browser/render_view_host.h" | 
|   25 #include "content/public/browser/resource_request_info.h" |   25 #include "content/public/browser/resource_request_info.h" | 
|   26 #include "net/base/host_port_pair.h" |   26 #include "net/base/host_port_pair.h" | 
|   27 #include "net/base/net_errors.h" |   27 #include "net/base/net_errors.h" | 
|   28 #include "net/base/net_log.h" |   28 #include "net/base/net_log.h" | 
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  410 #endif |  410 #endif | 
|  411   return net::OK; |  411   return net::OK; | 
|  412 } |  412 } | 
|  413  |  413  | 
|  414 void ChromeNetworkDelegate::OnCacheWaitStateChange( |  414 void ChromeNetworkDelegate::OnCacheWaitStateChange( | 
|  415     const net::URLRequest& request, |  415     const net::URLRequest& request, | 
|  416     CacheWaitState state) { |  416     CacheWaitState state) { | 
|  417   if (cache_stats_) |  417   if (cache_stats_) | 
|  418     cache_stats_->OnCacheWaitStateChange(request, state); |  418     cache_stats_->OnCacheWaitStateChange(request, state); | 
|  419 } |  419 } | 
| OLD | NEW |