Make MemoryUsageMonitor available on Chrome Linux.

Change-Id: Ib11d9edc4258aa807721daea78c2528709cf99d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995107
Reviewed-by: Ken Buchanan <[email protected]>
Reviewed-by: Benoit L <[email protected]>
Reviewed-by: Erik Chen <[email protected]>
Reviewed-by: Kentaro Hara <[email protected]>
Commit-Queue: Takashi Sakamoto <[email protected]>
Cr-Commit-Position: refs/heads/master@{#733253}
diff --git a/third_party/blink/public/mojom/BUILD.gn b/third_party/blink/public/mojom/BUILD.gn
index bfd7795..069f2ce 100644
--- a/third_party/blink/public/mojom/BUILD.gn
+++ b/third_party/blink/public/mojom/BUILD.gn
@@ -497,3 +497,19 @@
   # Don't scramble message IDs so they are redistributable to external tests.
   scramble_message_ids = false
 }
+
+mojom("memory_usage_monitor_linux_mojo_bindings") {
+  visibility = [
+    "//content/browser:browser",
+    "//third_party/blink/renderer/controller:controller",
+  ]
+  visibility_blink = [ "//third_party/blink/renderer/controller:controller" ]
+
+  sources = [ "memory_usage_monitor_linux.mojom" ]
+
+  public_deps = [ "//mojo/public/mojom/base" ]
+
+  export_class_attribute_blink = "PLATFORM_EXPORT"
+  export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1"
+  export_header_blink = "third_party/blink/renderer/platform/platform_export.h"
+}