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

Side by Side Diff: content/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: Rebase on https://crrev.com/1945513002. Created 4 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 | « content/shell/browser/DEPS ('k') | content/shell/browser/shell_url_request_context_getter.cc » ('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 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/shell/browser/shell_browser_context.h" 5 #include "content/shell/browser/shell_browser_context.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/environment.h" 11 #include "base/environment.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "components/network_session_configurator/switches.h"
17 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
18 #include "content/public/browser/storage_partition.h" 19 #include "content/public/browser/storage_partition.h"
19 #include "content/public/common/content_switches.h" 20 #include "content/public/common/content_switches.h"
20 #include "content/shell/browser/shell_download_manager_delegate.h" 21 #include "content/shell/browser/shell_download_manager_delegate.h"
21 #include "content/shell/browser/shell_permission_manager.h" 22 #include "content/shell/browser/shell_permission_manager.h"
22 #include "content/shell/common/shell_switches.h" 23 #include "content/shell/common/shell_switches.h"
23 #include "content/test/mock_background_sync_controller.h" 24 #include "content/test/mock_background_sync_controller.h"
24 25
25 #if defined(OS_WIN) 26 #if defined(OS_WIN)
26 #include "base/base_paths_win.h" 27 #include "base/base_paths_win.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 return permission_manager_.get(); 195 return permission_manager_.get();
195 } 196 }
196 197
197 BackgroundSyncController* ShellBrowserContext::GetBackgroundSyncController() { 198 BackgroundSyncController* ShellBrowserContext::GetBackgroundSyncController() {
198 if (!background_sync_controller_) 199 if (!background_sync_controller_)
199 background_sync_controller_.reset(new MockBackgroundSyncController()); 200 background_sync_controller_.reset(new MockBackgroundSyncController());
200 return background_sync_controller_.get(); 201 return background_sync_controller_.get();
201 } 202 }
202 203
203 } // namespace content 204 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/DEPS ('k') | content/shell/browser/shell_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698