Remove ShellNetLog.
This class was used by content_shell to enable network logging, however that is now handled by the Network Service.
After this change:
* content_shell no longer supports --log-net-log when Network Service is disabled
* content_shell properly handles --log-net-log when Network Service is enabled (crbug.com/979841)
The same applies goes for the ash_shell_with_content executable.
Bug: 934009,767450,979841
TBR: [email protected]
Change-Id: I14ccb736773f46cf4af8ef62b6ef749cd2e7ff8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682792
Commit-Queue: Eric Roman <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Mike West <[email protected]>
Cr-Commit-Position: refs/heads/master@{#674117}
diff --git a/content/browser/network_service_restart_browsertest.cc b/content/browser/network_service_restart_browsertest.cc
index 3eac522f..84de870 100644
--- a/content/browser/network_service_restart_browsertest.cc
+++ b/content/browser/network_service_restart_browsertest.cc
@@ -482,7 +482,7 @@
return;
base::ScopedAllowBlockingForTesting allow_blocking;
std::unique_ptr<ShellBrowserContext> browser_context =
- std::make_unique<ShellBrowserContext>(true, nullptr);
+ std::make_unique<ShellBrowserContext>(true);
auto* partition = static_cast<StoragePartitionImpl*>(
BrowserContext::GetDefaultStoragePartition(browser_context.get()));
auto factory_owner = IOThreadSharedURLLoaderFactoryOwner::Create(
@@ -572,7 +572,7 @@
return;
base::ScopedAllowBlockingForTesting allow_blocking;
std::unique_ptr<ShellBrowserContext> browser_context =
- std::make_unique<ShellBrowserContext>(true, nullptr);
+ std::make_unique<ShellBrowserContext>(true);
auto* partition =
BrowserContext::GetDefaultStoragePartition(browser_context.get());
scoped_refptr<network::SharedURLLoaderFactory> factory(