#include <memory>
#include "base/memory/raw_ptr.h"
#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/browser/notifications/notification_system_observer.h"
#include "chrome/browser/notifications/notification_test_util.h"
#include "chrome/browser/notifications/notification_ui_manager.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "components/crx_file/id_util.h"
#include "content/public/test/browser_task_environment.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/unloaded_extension_reason.h"
#include "extensions/common/extension_builder.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
scoped_refptr<const extensions::Extension> CreateGoodExtension(
const std::string& name) { … }
}
class NotificationSystemObserverTest : public testing::Test { … };
TEST_F(NotificationSystemObserverTest, MultiProfileExtensionUnloaded) { … }