Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: extensions/shell/browser/shell_browser_context.cc

Issue 2914893002: Move some of IOThread's command line logic to network_session_configurator. (Closed)
Patch Set: Fix merge Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/shell/browser/DEPS ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « extensions/shell/browser/DEPS ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698