// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ #define CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ #include <optional> #include <string> #include "extensions/common/extension_id.h" #include "ui/gfx/image/image_skia.h" namespace content { class BrowserContext; } namespace extensions { class CrxInstaller; class Extension; // An InstallObserver observes extension installation events coming from an InstallTracker. // Since extension installs are scoped to a single Profile (represented here as a // BrowserContext), InstallTrackers are as well. Instances of InstallObserver are passed the // appropriate BrowserContext so that a single InstallObserver can observe multiple // InstallTrackers. class InstallObserver { … }; } // namespace extensions #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_