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

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

Issue 2914893002: Move some of IOThread's command line logic to network_session_configurator. (Closed)
Patch Set: Fixes... 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
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/keyed_service/content/browser_context_dependency_manager.h" 17 #include "components/keyed_service/content/browser_context_dependency_manager.h"
18 #include "components/network_session_configurator/common/network_switches.h"
18 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
19 #include "content/public/browser/storage_partition.h" 20 #include "content/public/browser/storage_partition.h"
20 #include "content/public/common/content_switches.h" 21 #include "content/public/common/content_switches.h"
21 #include "content/shell/browser/shell_download_manager_delegate.h" 22 #include "content/shell/browser/shell_download_manager_delegate.h"
22 #include "content/shell/browser/shell_permission_manager.h" 23 #include "content/shell/browser/shell_permission_manager.h"
23 #include "content/shell/common/shell_switches.h" 24 #include "content/shell/common/shell_switches.h"
24 #include "content/test/mock_background_sync_controller.h" 25 #include "content/test/mock_background_sync_controller.h"
25 26
26 #if defined(OS_WIN) 27 #if defined(OS_WIN)
27 #include "base/base_paths_win.h" 28 #include "base/base_paths_win.h"
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 background_sync_controller_.reset(new MockBackgroundSyncController()); 223 background_sync_controller_.reset(new MockBackgroundSyncController());
223 return background_sync_controller_.get(); 224 return background_sync_controller_.get();
224 } 225 }
225 226
226 BrowsingDataRemoverDelegate* 227 BrowsingDataRemoverDelegate*
227 ShellBrowserContext::GetBrowsingDataRemoverDelegate() { 228 ShellBrowserContext::GetBrowsingDataRemoverDelegate() {
228 return nullptr; 229 return nullptr;
229 } 230 }
230 231
231 } // namespace content 232 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698