blob: a33c2b9ac1d4ae352f67a8c37f00e6847f6864f7 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.lifecycle;
/**
* Implement this interface and register in {@link
* org.chromium.chrome.browser.init.ActivityLifecycleDispatcher} to receive destroy events.
*/
public interface Destroyable extends LifecycleObserver {
/**
* Called when activity is being destroyed.
*/
void destroy();
}