OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/shell/browser/shell_browser_context.h" | 5 #include "extensions/shell/browser/shell_browser_context.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "components/guest_view/browser/guest_view_manager.h" | 10 #include "components/guest_view/browser/guest_view_manager.h" |
| 11 #include "components/network_session_configurator/common/network_switches.h" |
11 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
12 #include "content/public/common/content_switches.h" | 13 #include "content/public/common/content_switches.h" |
13 #include "extensions/browser/extension_protocols.h" | 14 #include "extensions/browser/extension_protocols.h" |
14 #include "extensions/common/constants.h" | 15 #include "extensions/common/constants.h" |
15 #include "extensions/shell/browser/shell_browser_main_parts.h" | 16 #include "extensions/shell/browser/shell_browser_main_parts.h" |
16 #include "extensions/shell/browser/shell_extension_system.h" | 17 #include "extensions/shell/browser/shell_extension_system.h" |
17 #include "extensions/shell/browser/shell_network_delegate.h" | 18 #include "extensions/shell/browser/shell_network_delegate.h" |
18 #include "extensions/shell/browser/shell_special_storage_policy.h" | 19 #include "extensions/shell/browser/shell_special_storage_policy.h" |
19 #include "extensions/shell/browser/shell_url_request_context_getter.h" | 20 #include "extensions/shell/browser/shell_url_request_context_getter.h" |
20 | 21 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 85 |
85 void ShellBrowserContext::InitURLRequestContextOnIOThread() { | 86 void ShellBrowserContext::InitURLRequestContextOnIOThread() { |
86 DCHECK_CURRENTLY_ON(content::BrowserThread::IO); | 87 DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
87 | 88 |
88 // GetURLRequestContext() will create a URLRequestContext if it isn't | 89 // GetURLRequestContext() will create a URLRequestContext if it isn't |
89 // initialized. | 90 // initialized. |
90 url_request_context_getter()->GetURLRequestContext(); | 91 url_request_context_getter()->GetURLRequestContext(); |
91 } | 92 } |
92 | 93 |
93 } // namespace extensions | 94 } // namespace extensions |
OLD | NEW |