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

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

Issue 1892123003: Add components/network_session_configurator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #22. Created 4 years, 7 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
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/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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698