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

Unified Diff: content/common/native_types.typemap

Issue 2883763002: Expose ECT to render frames, Blink and NetInfo (Closed)
Patch Set: rebased Created 3 years, 7 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: content/common/native_types.typemap
diff --git a/content/common/native_types.typemap b/content/common/native_types.typemap
index 7321bd1c0de0720f4feeb56d1c2ecba3f7525e1d..22be41a4f633d79e074920ee61787e859a5d7f27 100644
--- a/content/common/native_types.typemap
+++ b/content/common/native_types.typemap
@@ -10,6 +10,7 @@ public_headers = [
"//content/public/common/renderer_preferences.h",
"//content/public/common/web_preferences.h",
"//net/base/network_change_notifier.h",
+ "//net/nqe/effective_connection_type.h",
"//third_party/WebKit/public/web/WebPopupType.h",
]
traits_headers = [
@@ -39,6 +40,7 @@ public_deps = [
"//url/ipc:url_ipc",
]
type_mappings = [
+ "content.mojom.EffectiveConnectionType=net::EffectiveConnectionType",
"content.mojom.FrameOwnerProperties=content::FrameOwnerProperties",
"content.mojom.FrameReplicationState=content::FrameReplicationState",
"content.mojom.NetworkConnectionType=net::NetworkChangeNotifier::ConnectionType",

Powered by Google App Engine
This is Rietveld 408576698