| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 650b474e297bed4c46bcfefd7b138890b9d6f4c6..586e624eb238eaf86cb8dc0e564813ac2d3bfa3f 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -53,6 +53,8 @@
|
| #include "chrome/browser/memory/chrome_memory_coordinator_delegate.h"
|
| #include "chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h"
|
| #include "chrome/browser/nacl_host/nacl_browser_delegate_impl.h"
|
| +#include "chrome/browser/net/profile_network_context_service.h"
|
| +#include "chrome/browser/net/profile_network_context_service_factory.h"
|
| #include "chrome/browser/net_benchmarking.h"
|
| #include "chrome/browser/notifications/platform_notification_service_impl.h"
|
| #include "chrome/browser/page_load_metrics/experiments/delay_navigation_throttle.h"
|
| @@ -2676,6 +2678,22 @@ void ChromeContentBrowserClient::GetURLRequestAutoMountHandlers(
|
| return g_browser_process->rappor_service();
|
| }
|
|
|
| +content::mojom::NetworkContextPtr
|
| +ChromeContentBrowserClient::CreateMainNetworkContext(
|
| + content::BrowserContext* context) {
|
| + return ProfileNetworkContextServiceFactory::GetForContext(context)
|
| + ->CreateMainNetworkContext();
|
| +}
|
| +
|
| +content::mojom::NetworkContextPtr
|
| +ChromeContentBrowserClient::CreateNetworkContextForStoragePartition(
|
| + content::BrowserContext* context,
|
| + bool in_memory,
|
| + const base::FilePath& partition_path) {
|
| + // TODO(mmenke): Implement this.
|
| + return ContentBrowserClient::CreateMainNetworkContext(context);
|
| +}
|
| +
|
| void ChromeContentBrowserClient::GetAdditionalFileSystemBackends(
|
| content::BrowserContext* browser_context,
|
| const base::FilePath& storage_partition_path,
|
|
|