blob: 08830d2bc210298efcd3040fb9aa40fbcc5eca1e [file] [log] [blame]
// Copyright 2019 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.
#ifndef CHROME_BROWSER_WEB_APPLICATIONS_COMPONENTS_APP_REGISTRAR_OBSERVER_H_
#define CHROME_BROWSER_WEB_APPLICATIONS_COMPONENTS_APP_REGISTRAR_OBSERVER_H_
#include "base/observer_list_types.h"
#include "chrome/browser/web_applications/components/web_app_helpers.h"
namespace web_app {
class AppRegistrarObserver : public base::CheckedObserver {
public:
virtual void OnWebAppInstalled(const AppId& app_id) {}
virtual void OnWebAppUninstalled(const AppId& app_id) {}
virtual void OnWebAppProfileWillBeDeleted(const AppId& app_id) {}
virtual void OnAppRegistrarShutdown() {}
virtual void OnAppRegistrarDestroyed() {}
};
} // namespace web_app
#endif // CHROME_BROWSER_WEB_APPLICATIONS_COMPONENTS_APP_REGISTRAR_OBSERVER_H_