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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 2976323002: Hook up ProfileIOData's URLRequestContext to a NetworkService. (Closed)
Patch Set: X11 is bonkers Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index dc4aba0264917f7d1857aa9648e31608633eae4a..bee72ccff982b509d0f16880b35f06b107be0a63 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -19,6 +19,7 @@
#include "base/memory/weak_ptr.h"
#include "build/build_config.h"
#include "content/public/browser/content_browser_client.h"
+#include "content/public/common/network_service.mojom.h"
#include "extensions/features/features.h"
#include "media/media_features.h"
#include "ppapi/features/features.h"
@@ -319,6 +320,12 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
std::unique_ptr<content::MemoryCoordinatorDelegate>
GetMemoryCoordinatorDelegate() override;
::rappor::RapporService* GetRapporService() override;
+ content::mojom::NetworkContextPtr CreateMainNetworkContext(
+ content::BrowserContext* context) override;
+ content::mojom::NetworkContextPtr CreateNetworkContextForStoragePartition(
+ content::BrowserContext* context,
+ bool in_memory,
+ const base::FilePath& partition_path) override;
#if BUILDFLAG(ENABLE_MEDIA_REMOTING)
void CreateMediaRemoter(content::RenderFrameHost* render_frame_host,

Powered by Google App Engine
This is Rietveld 408576698