[Cronet] Pull the metrics_util out of android.

I will use this to implement an equivalent for the native API.

Bug: 879208
Change-Id: I3753411806738f37151c85c08fb5d1629e97e12f
Reviewed-on: https://chromium-review.googlesource.com/c/1399821
Reviewed-by: Misha Efimov <[email protected]>
Reviewed-by: Paul Jensen <[email protected]>
Commit-Queue: Caleb Raitto <[email protected]>
Cr-Commit-Position: refs/heads/master@{#625252}
diff --git a/components/cronet/BUILD.gn b/components/cronet/BUILD.gn
index 1c2feff..794bad1 100644
--- a/components/cronet/BUILD.gn
+++ b/components/cronet/BUILD.gn
@@ -79,6 +79,16 @@
   }
 }
 
+source_set("metrics_util") {
+  sources = [
+    "metrics_util.cc",
+    "metrics_util.h",
+  ]
+  deps = [
+    "//base",
+  ]
+}
+
 # Unit tests for Cronet common implementation.
 source_set("cronet_common_unittests") {
   testonly = true