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/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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 87 |
87 void ShellBrowserContext::InitURLRequestContextOnIOThread() { | 88 void ShellBrowserContext::InitURLRequestContextOnIOThread() { |
88 DCHECK_CURRENTLY_ON(content::BrowserThread::IO); | 89 DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
89 | 90 |
90 // GetURLRequestContext() will create a URLRequestContext if it isn't | 91 // GetURLRequestContext() will create a URLRequestContext if it isn't |
91 // initialized. | 92 // initialized. |
92 url_request_context_getter()->GetURLRequestContext(); | 93 url_request_context_getter()->GetURLRequestContext(); |
93 } | 94 } |
94 | 95 |
95 } // namespace extensions | 96 } // namespace extensions |
OLD | NEW |