[ExploreSites] Add a utility function for finding the catalog URL.
This will allow the "more" button to work on the NTP.
Bug: 852075
Change-Id: I1a09ddc4f5b4faa484777650bde1eaedce5ec8cd
Reviewed-on: https://chromium-review.googlesource.com/1107050
Reviewed-by: Yafei Duan <[email protected]>
Commit-Queue: Cathy Li <[email protected]>
Cr-Commit-Position: refs/heads/master@{#568658}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 145d3da..427a98b1 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2071,6 +2071,8 @@
"android/explore_sites/explore_sites_bridge.h",
"android/explore_sites/ntp_json_fetcher.cc",
"android/explore_sites/ntp_json_fetcher.h",
+ "android/explore_sites/url_util.cc",
+ "android/explore_sites/url_util.h",
"android/favicon_helper.cc",
"android/favicon_helper.h",
"android/feature_engagement/tracker_factory_android.cc",