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

Unified Diff: components/network_hints/common/BUILD.gn

Issue 2144533002: Convert network hints to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change ownership of PrescientNetworkingDispatcher for proper shutdown 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: components/network_hints/common/BUILD.gn
diff --git a/components/network_hints/common/BUILD.gn b/components/network_hints/common/BUILD.gn
index 2b0b0848934c33816f96d0ec2b7ad468eccb1486..cbe27ed8ace8cf01e9454bacd583e2a2568c4e4c 100644
--- a/components/network_hints/common/BUILD.gn
+++ b/components/network_hints/common/BUILD.gn
@@ -2,15 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//mojo/public/tools/bindings/mojom.gni")
+
# GYP version: components/network_hints.gypi:predictor
source_set("common") {
sources = [
"network_hints_common.cc",
"network_hints_common.h",
- "network_hints_message_generator.cc",
- "network_hints_message_generator.h",
- "network_hints_messages.cc",
- "network_hints_messages.h",
+ "network_hints_param_traits.cc",
+ "network_hints_param_traits.h",
]
deps = [
@@ -21,3 +21,13 @@ source_set("common") {
"//url",
]
}
+
+mojom("network_hints_mojom") {
+ sources = [
+ "network_hints.mojom",
+ ]
+
+ public_deps = [
+ "//url/mojo:url_mojom_gurl",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698