#include "chrome/browser/notifications/notification_system_observer.h"
#include "base/check.h"
#include "base/notreached.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/extensions/chrome_content_browser_client_extensions_part.h"
#include "chrome/browser/lifetime/termination_notification.h"
#include "chrome/browser/notifications/notification_ui_manager.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "extensions/common/extension.h"
NotificationSystemObserver::NotificationSystemObserver(
NotificationUIManager* ui_manager)
: … { … }
NotificationSystemObserver::~NotificationSystemObserver() { … }
void NotificationSystemObserver::OnAppTerminating() { … }
void NotificationSystemObserver::OnProfileAdded(Profile* profile) { … }
void NotificationSystemObserver::OnExtensionUnloaded(
content::BrowserContext* browser_context,
const extensions::Extension* extension,
extensions::UnloadedExtensionReason reason) { … }
void NotificationSystemObserver::OnShutdown(
extensions::ExtensionRegistry* registry) { … }