OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/browser/frame_host/render_frame_message_filter.h" | 5 #include "content/browser/frame_host/render_frame_message_filter.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/debug/alias.h" |
8 #include "base/macros.h" | 9 #include "base/macros.h" |
9 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
10 #include "build/build_config.h" | 11 #include "build/build_config.h" |
11 #include "content/browser/bad_message.h" | 12 #include "content/browser/bad_message.h" |
12 #include "content/browser/blob_storage/chrome_blob_storage_context.h" | 13 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
13 #include "content/browser/child_process_security_policy_impl.h" | 14 #include "content/browser/child_process_security_policy_impl.h" |
14 #include "content/browser/download/download_stats.h" | 15 #include "content/browser/download/download_stats.h" |
15 #include "content/browser/frame_host/render_frame_host_impl.h" | 16 #include "content/browser/frame_host/render_frame_host_impl.h" |
16 #include "content/browser/gpu/gpu_data_manager_impl.h" | 17 #include "content/browser/gpu/gpu_data_manager_impl.h" |
17 #include "content/browser/renderer_host/render_widget_helper.h" | 18 #include "content/browser/renderer_host/render_widget_helper.h" |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 net::URLRequestContext* context = | 591 net::URLRequestContext* context = |
591 GetContentClient()->browser()->OverrideRequestContextForURL( | 592 GetContentClient()->browser()->OverrideRequestContextForURL( |
592 url, resource_context_); | 593 url, resource_context_); |
593 if (!context) | 594 if (!context) |
594 context = request_context_->GetURLRequestContext(); | 595 context = request_context_->GetURLRequestContext(); |
595 | 596 |
596 return context; | 597 return context; |
597 } | 598 } |
598 | 599 |
599 } // namespace content | 600 } // namespace content |
OLD | NEW |