Index: chrome/browser/browser_process_platform_part_android.cc |
diff --git a/chrome/browser/browser_process_platform_part_android.cc b/chrome/browser/browser_process_platform_part_android.cc |
index 4fdede00141b526c8ec98d4e86f69017749ed30f..18c02b1eb57254dac4ba6a79c52f6d9482a8558c 100644 |
--- a/chrome/browser/browser_process_platform_part_android.cc |
+++ b/chrome/browser/browser_process_platform_part_android.cc |
@@ -2,10 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/browser_process_platform_part_mac.h" |
+#include "chrome/browser/browser_process_platform_part_android.h" |
+ |
+#include "base/android/memory_pressure_listener_android.h" |
#include "chrome/browser/lifetime/application_lifetime_android.h" |
+#include "chrome/browser/memory_purger.h" |
BrowserProcessPlatformPart::BrowserProcessPlatformPart() { |
+ base::android::MemoryPressureListenerAndroid::RegisterSystemCallback( |
+ base::android::AttachCurrentThread()); |
} |
BrowserProcessPlatformPart::~BrowserProcessPlatformPart() { |