Adding a memory pressure observer for ChromeOS.

This is a memory observer for ChromeOS which triggers the existing memory pressure listening objects to release memory.

Part of this code came from the old Athena project (see https://codereview.chromium.org/5113830031).

Note that all this code resides for the time being behind a flag.

BUG=439493
TEST=-

Review URL: https://codereview.chromium.org/788713003

Cr-Commit-Position: refs/heads/master@{#307759}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 026893c..2f1ef7c 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1978,6 +1978,13 @@
 #endif
 #if defined(OS_CHROMEOS)
   {
+    "use-memory-pressure-chromeos",
+    IDS_FLAGS_USE_MEMORY_PRESSURE_NAME,
+    IDS_FLAGS_USE_MEMORY_PRESSURE_DESCRIPTION,
+    kOsCrOS,
+    SINGLE_VALUE_TYPE(chromeos::switches::kUseMemoryPressureSystemChromeOS)
+  },
+  {
     "wake-on-packets",
     IDS_FLAGS_WAKE_ON_PACKETS_NAME,
     IDS_FLAGS_WAKE_ON_PACKETS_DESCRIPTION,