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

Unified Diff: chromecast/browser/cast_content_browser_client.h

Issue 2144533002: Convert network hints to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add untracked dependency on mojom Created 4 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: chromecast/browser/cast_content_browser_client.h
diff --git a/chromecast/browser/cast_content_browser_client.h b/chromecast/browser/cast_content_browser_client.h
index dffac910b9fccc343fb8402519a2628d41b2972f..9cc6a37b70226806128a07526365046c9b206df9 100644
--- a/chromecast/browser/cast_content_browser_client.h
+++ b/chromecast/browser/cast_content_browser_client.h
@@ -28,6 +28,10 @@ namespace metrics {
class MetricsService;
}
+namespace network_hints {
+class NetworkHintsImpl;
+}
+
namespace chromecast {
class CastService;
@@ -170,8 +174,8 @@ class CastContentBrowserClient : public content::ContentBrowserClient {
}
private:
- void AddNetworkHintsMessageFilter(int render_process_id,
- net::URLRequestContext* context);
+ void AddNetworkHintsImpl(int render_process_id,
+ net::URLRequestContext* context);
net::X509Certificate* SelectClientCertificateOnIOThread(
GURL requesting_url,
@@ -193,6 +197,8 @@ class CastContentBrowserClient : public content::ContentBrowserClient {
CastBrowserMainParts* cast_browser_main_parts_;
std::unique_ptr<URLRequestContextFactory> url_request_context_factory_;
+ std::unique_ptr<network_hints::NetworkHintsImpl> network_hints_;
+
DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
};

Powered by Google App Engine
This is Rietveld 408576698