Rename desktop_cursor_loader_updater_aurax11.
[chromium-blink-merge.git] / chrome / browser / browser_process_platform_part_android.cc
blob18c02b1eb57254dac4ba6a79c52f6d9482a8558c
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/browser_process_platform_part_android.h"
7 #include "base/android/memory_pressure_listener_android.h"
8 #include "chrome/browser/lifetime/application_lifetime_android.h"
9 #include "chrome/browser/memory_purger.h"
11 BrowserProcessPlatformPart::BrowserProcessPlatformPart() {
12 base::android::MemoryPressureListenerAndroid::RegisterSystemCallback(
13 base::android::AttachCurrentThread());
16 BrowserProcessPlatformPart::~BrowserProcessPlatformPart() {
19 void BrowserProcessPlatformPart::AttemptExit() {
20 // Tell the Java code to finish() the Activity.
21 chrome::TerminateAndroid();