commit | 5984e9922e340ba67c5da2f83ceb0698234a87a9 | [log] [tgz] |
---|---|---|
author | Julie Jeongeun Kim <[email protected]> | Wed Sep 11 11:00:46 2019 |
committer | Commit Bot <[email protected]> | Wed Sep 11 11:00:46 2019 |
tree | 8fb29dc43cdaa79e63fbb1b9793aa0eaab8e0166 | |
parent | 842da49b930b1e75cc4212a08228fb88881787a3 [diff] [blame] |
Convert NetworkContextPtr from CreateNetworkContext() to new Mojo types It updates CreateNetworkContext() from ContentBrowserClient and all methods and members which implements it. The unit tests which use NetworkContextPtr are converted to mojo::Remote or mojo::PendingRemote. Bug: 955171, 978694 Change-Id: I0df0f9fec0b70f2704d924c7b52a24127f21c373 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1784026 Commit-Queue: Julie Kim <[email protected]> Reviewed-by: Bo <[email protected]> Reviewed-by: Oksana Zhuravlova <[email protected]> Reviewed-by: Andrey Kosyakov <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: David Roger <[email protected]> Reviewed-by: Luke Halliwell <[email protected]> Cr-Commit-Position: refs/heads/master@{#695562}
diff --git a/content/shell/browser/shell_content_browser_client.h b/content/shell/browser/shell_content_browser_client.h index 983b238..4d8d903 100644 --- a/content/shell/browser/shell_content_browser_client.h +++ b/content/shell/browser/shell_content_browser_client.h
@@ -101,7 +101,7 @@ RendererSpawnFlags flags) override; #endif - network::mojom::NetworkContextPtr CreateNetworkContext( + mojo::Remote<network::mojom::NetworkContext> CreateNetworkContext( BrowserContext* context, bool in_memory, const base::FilePath& relative_partition_path) override;